For what positive integer is the expression a perfect square?
Write your answer as the sum of all possible values of
If you think there are no such values for give your answer as
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.
If F ( n ) = n 4 + n 3 + n 2 + n + 1 then F ( 1 ) = 5 and F ( 2 ) = 3 1 , so for F ( n ) to be a square we need n ≥ 3 .
Suppose now that n ≥ 3 and that F ( n ) = m 2 for some positive integer m . Now ( n 2 ) 2 = n 4 < F ( n ) < n 4 + 2 n 3 + n 2 = ( n 2 + n ) 2 , so we deduce that n 2 < m < n 2 + n . Thus m = n 2 + b for some 1 ≤ b ≤ n − 1 . Thus n 4 + n 3 + n 2 + n + 1 = F ( n ) = ( n 2 + b ) 2 = n 4 + 2 b n 2 + b 2 Since 1 ≤ b ≤ n − 1 , we deduce that b 2 = n + 1 , and hence 2 b = n + 1 as well. Thus b 2 = 2 b , and hence we must have b = 2 , n = 3 .
The only solution is n = 3 .