by Wolstenholme, Aug 3, 2014, 11:30 PM
Find all positive integers

and

such that
Solution:
It is clear that

works so assume that
.
Now, assume

is odd. I shall show that
. Grouping terms so that the sum becomes

we find since

is odd that

divides each of the terms and so we have the desired result. Therefore since

we have that

but then clearly the RHS is smaller than the LHS so there is no solution if

is a odd integer greater than
.
Now, since we know that

is even, I claim that
. To prove this, consider the identity
. By LTE, each of the terms in parenthesis is divisible by

which is obviously greater than
. But

so my claim is proven. But since

we have that

which means that equality cannot hold.
Therefore the only answer is
.
This post has been edited 1 time. Last edited by Wolstenholme, Aug 4, 2014, 12:22 AM