Find the number of ordered pairs of positive integers with and such that the quotient of when divided by equals the quotient of when divided by .
For instance, is such a pair, as when is divided by , the quotient is , and when is divided by , the quotient is again.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Mathematica
n = 0; For[a = 1, a <= 100, a++, For[b = 1, b <= 100, b++, If[Floor[a/b] == Floor[a/(b + 1)], n++]]] n
8796