Let the houses on a street from left to right are numbered 1 through in that order. There is a house on the street situated in such a way that the sum of cubes of house numbers to its left is equal to the sum of cubes of house numbers to its right. If , give the sum of all possible values of ?
Assume that if there is no house at any side (left or right), the sum of that side is taken to be 0.
Bonus : What are the solutions for ?
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 we choose house number a , then we require 4 1 a 2 ( a − 1 ) 2 2 a 2 ( a 2 + 1 ) = = 4 1 n 2 ( n + 1 ) 2 − 4 1 a 2 ( a + 1 ) 2 n 2 ( n + 1 ) 2 = [ n ( n + 1 ) ] 2 Thus we deduce that 2 ( a 2 + 1 ) must be a perfect square. Since 2 ( a 2 + 1 ) is even, we deduce that it must be equal to the square ( 2 b ) 2 of an even number, and hence a 2 + 1 = 2 b 2 , with n ( n + 1 ) = 2 a b .
Thus we are looking for positive integer solutions of the equations a 2 − 2 b 2 = − 1 n ( n + 1 ) = 2 a b for n < 1 0 7 . The positive integer solutions of a 2 − 2 b 2 = − 1 are given by the formula a k + b k 2 = ( 2 + 1 ) 2 k + 1 k ∈ N ∪ { 0 } . and the matching value of n is the positive solution n k of the equation n ( n + 1 ) = 2 a k b k .
The resulting value of n k is less than 1 0 7 just when 0 ≤ k ≤ 8 , and of these 9 cases n k is an integer only when k = 0 , in which case n 0 = 1 .
The only value of n that works is n = 1 .