Triangular Numbers are Simple

Find the smallest positive integer n n such that n + 2015 n + 2015 and n 2015 n - 2015 are triangular numbers.


The answer is 2450.

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.

1 solution

Steven Yuan
Dec 24, 2014

Let i , j i, j be positive integers such that n + 2015 = i 2 + i 2 n + 2015 = \frac{i^{2} + i}{2} and n 2015 = j 2 + j 2 . n - 2015 = \frac{j^{2} + j}{2}. Note that this implies that i > j . i > j. If we subtract the second equation from the first, we get

( n + 2015 ) ( n 2015 ) = i 2 + i 2 j 2 + j 2 4030 = i 2 + i j 2 j 2 8060 = i 2 j 2 + i j 8060 = ( i + j ) ( i j ) + i j 8060 = ( i + j + 1 ) ( i j ) . \begin{aligned} (n + 2015) - (n - 2015) & = \frac{i^{2} + i}{2} - \frac{j^{2} + j}{2} \\ 4030 & = \frac{i^{2} + i - j^{2} - j}{2} \\ 8060 & = i^{2} - j^{2} + i - j \\ 8060 & = (i + j)(i - j) + i - j \\ 8060 & = (i + j + 1)(i - j). \end{aligned}

In order to minimize n n , we must let the "gap" between i + j + 1 i + j + 1 and i j i - j be as small as possible. Also, one of the expressions must be a multiple of 4 4 , since they have different parities and 8060 8060 has a factor of 4 4 . Finally, i + j + 1 > i j i + j + 1 > i - j because i i and j j are positive. i + j + 1 = 124 i + j + 1 = 124 and i j = 65 i - j = 65 is the setting we seek. Solving this gives j = 29 , j = 29, so

n = 2 9 2 + 29 2 + 2015 = 435 + 2015 = 2450 . n = \frac{29^2 + 29}{2} + 2015 = 435 + 2015 = \boxed{2450}.

Great solution! Did it the same way

John Frank - 5 years, 4 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...