Find the sum of all positive integers such that
Details & Assumptions
is a non-negative integer
means " divides " i.e. is divisible by .
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.
Since d ∣ ( n 2 + 1 ) and d ∣ [ ( n + 1 ) 2 + 1 ] , we get d ∣ [ ( n + 1 ) 2 + 1 − ( n 2 + 1 ) or d ∣ 2 n + 1 .
Thus, d ∣ ( 2 n + 1 ) ( 2 n − 1 ) or d ∣ ( 4 n 2 − 1 ) .
On the other hand, d ∣ 4 ( n 2 + 1 ) , implies d ∣ [ 4 ( n 2 + 1 ) − ( 4 n 2 − 1 ) or d ∣ 5 .
Since d is a positive integer, so d ∈ { 1 ; 5 } .
If n = 1 , then d = 1 .
If n = 2 , then d = 5 .
So both of above value of d are satisfied.
Hence, the answer is 1 + 5 = 6 .