How many positive integer are there such that is a perfect square?
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.
Let s 2 = 2 n + 1 2 n + 2 0 1 1 n
In mod 3 , this becomes
s 2 ≡ 2 n + 1 ≡ ( − 1 ) n + 1 ( m o d 3 )
Perfect Squares in mod 3 are congruent to 0 or 1
So n must be odd
Now we take mod 4
s 2 ≡ 2 n + 3 n ≡ 2 n + ( − 1 ) n ( m o d 4 )
For odd n ≥ 2 , 4 ∣ 2 n so s 2 ≡ ( − 1 ) n ≡ − 1 ≡ 3 ( m o d 4 )
But Squares of mod 4 are 0 or 1
Thus, the only possible solution is n = 1
Substituting gives 2 1 + 1 2 1 + 2 0 1 1 1 = 2 0 2 5 = 4 5 2