Triangle and Square Sequence

a n a_n is the sequence of triangular numbers: 1 , 3 , 6 , 10 , . . . 1,3,6,10,...

b n b_n is the sequence of square numbers: 1 , 4 , 9 , 16 , . . . 1,4,9,16,...

What is the third number that is in both a n a_n and b n ? b_n?

Hint: The first one is 1 1 and the second one is 36. 36.


Try my set here .


The answer is 1225.

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.

3 solutions

John Ross
May 28, 2018

We are looking for Diophantine solutions to the equation 2 m 2 = n ( n + 1 ) 2m^2=n(n+1) . The factorization of 2 m 2 2m^2 has a 2 and other primes that come in pairs. n n and n + 1 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 n=2b^2 and n + 1 = a 2 n+1=a^2 . For every ( a , b ) (a,b) that is a solution, ( 3 a + 4 b , 2 a + 3 b ) (3a+4b,2a+3b) is also another solution. It is straightforward to verify that ( 3 a + 4 b ) 2 = 2 ( 2 a + 3 b ) 2 + 1 (3a+4b)^2=2(2a+3b)^2+1 given that a 2 = 2 b 2 + 1 a^2=2b^2+1 . Rewriting this in terms of n n gives for every solution n n , 17 n + 8 + 12 2 n 2 + 2 n 17n+8+12\sqrt{2n^2+2n} is also a solution. This will create a strictly increasing sequence of solutions starting with n = 0 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 = 17 n k + 8 + 12 2 n k 2 + 2 n k n_{k+1}=17n_k+8+12\sqrt{2n_k^2+2n_k} to generate every solution from 0. Second Case: n = a 2 n=a^2 and n + 1 = 2 b 2 n+1=2b^2 This gives a 2 = 2 b 2 1 a^2=2b^2-1 . If ( a , b ) (a,b) is a solution, then so is ( 3 a + 4 b , 2 a + 3 b ) (3a+4b,2a+3b) It is straightforward to verify that ( 3 a + 4 b ) 2 = 2 ( 2 a + 3 b ) 2 1 (3a+4b)^2=2(2a+3b)^2-1 given that a 2 = 2 b 2 1 a^2=2b^2-1 . Rewriting this in terms of n n gives for every solution n n , 17 n + 8 + 12 2 n 2 + 2 n 17n+8+12\sqrt{2n^2+2n} is also a solution. There are no solutions between n = 1 n=1 and n = 49 n=49 , so every possible solution is generated by the recursive formula n k + 1 = 17 n k + 8 + 12 2 n k 2 + 2 n k n_{k+1}=17n_k+8+12\sqrt{2n_k^2+2n_k} starting with n = 1 n=1 . The next highest n for either of these lists is n = 49 n=49 which gives an answer of 1225.

For a natural number p, p(2p+1) or p(2p-1) must be a perfect square. Since p and 2p+1 , as well as p and 2p-1 are relative primes, therefore both p and 2p+1 or both p and 2p-1 must be perfect squares. Such values of p are 1, 4, 25, ... Therefore the 3rd. member is 25(50-1) or 25*49 or 1225

Edwin Gray
May 28, 2018

The triangular numbers are given by n(n + 1)/2. The squares are given by k^2. Hence we seek solutions to n(n + 1)/2 = k^2, or n^2 + n = 2k^2. Multiplying by 4 and adding 1, we have (2n + 1)^2 = 8k^2 + 1. Defining x = 2n + 1 and y = 2k, the equation can be written as x^2 - 2k^2 = 1. This is Pell's equation which has a recursive solution whose first three iterates are: x 1 = 3, y 1 =2, x 2 =17, y 2 =12, and x 3 =99, y 2 = 70, from which we get k = 35, n = 49. n(n+1)/2 = 1225, K^2 = 1225. I didn't want to use up the space, but in case anyone is interested, the recursive formulae are: x 1 = 3, y 1 =2, x n+1 = (x 1)(x n) + 2(y 1)(y n) and y n+1 = (x 1)(y n) + (y 1)(x n). Ed Gray

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...