is the sequence of triangular numbers:
is the sequence of square numbers:
What is the third number that is in both and
Hint: The first one is and the second one is
Try my set here .
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.
We are looking for Diophantine solutions to the equation 2 m 2 = n ( n + 1 ) . The factorization of 2 m 2 has a 2 and other primes that come in pairs. n and n + 1 do not share any factors, so one has to be a perfect square, and the other twice a perfect square. We now have two cases to consider. First Case: n = 2 b 2 and n + 1 = a 2 . For every ( a , b ) that is a solution, ( 3 a + 4 b , 2 a + 3 b ) is also another solution. It is straightforward to verify that ( 3 a + 4 b ) 2 = 2 ( 2 a + 3 b ) 2 + 1 given that a 2 = 2 b 2 + 1 . Rewriting this in terms of n gives for every solution n , 1 7 n + 8 + 1 2 2 n 2 + 2 n is also a solution. This will create a strictly increasing sequence of solutions starting with n = 0 . We know that every decreasing sequence (the same process in reverse) must go to 0, because 8 goes to 0, so if another sequence exists, it must go somewhere between 0 and 8, but none of those options work. We can use the recursive formula n k + 1 = 1 7 n k + 8 + 1 2 2 n k 2 + 2 n k to generate every solution from 0. Second Case: n = a 2 and n + 1 = 2 b 2 This gives a 2 = 2 b 2 − 1 . If ( a , b ) is a solution, then so is ( 3 a + 4 b , 2 a + 3 b ) It is straightforward to verify that ( 3 a + 4 b ) 2 = 2 ( 2 a + 3 b ) 2 − 1 given that a 2 = 2 b 2 − 1 . Rewriting this in terms of n gives for every solution n , 1 7 n + 8 + 1 2 2 n 2 + 2 n is also a solution. There are no solutions between n = 1 and n = 4 9 , so every possible solution is generated by the recursive formula n k + 1 = 1 7 n k + 8 + 1 2 2 n k 2 + 2 n k starting with n = 1 . The next highest n for either of these lists is n = 4 9 which gives an answer of 1225.