Find sum of all integers such that
and
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 m = ⌊ n ⌋ . Since n > 4 , then m ≥ 2 is an integer.
We have m 2 ≤ n < ( m + 1 ) 2 , so m 2 ≤ n ≤ m 2 + 2 m .
Set n = m 2 + k , with 0 ≤ k ≤ 2 m .
From m + 1 ∣ m 2 + k − 1 we get m + 1 ∣ k . On the other hand k < 2 ( m + 1 ) , thus k = 0 or k = m + 1 .
If k = 0 , from m − 1 ∣ m 2 + 1 follows m − 1 ∣ 2 , so m = 2 or m = 3 , hence n = 4 or n = 9 .
If k = m + 1 , from m − 1 ∣ m 2 + m + 2 = ( m − 1 ) ( m + 2 ) + 4 follows m − 1 ∣ 4 . We obtain m = 2 or m = 3 or m = 5 , hence n = 7 or n = 1 3 or n = 3 1 .
So the sum of all possible value of n is 4 + 7 + 9 + 1 3 + 3 1 = 6 4 .