Square Triangles

What is the smallest positive integer greater than 1 1 that is both a triangular number and a perfect square ?

Note: A triangular number is a number which can be expressed as a sum of the first n n positive integers, such as 6 = 1 + 2 + 3 6 = 1+2+3 or 15 = 1 + 2 + 3 + 4 + 5 15 = 1+2+3+4+5 .


The answer is 36.

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.

2 solutions

Here is my proof of @Jon Sy challenge:

We are trying to prove that the equation n ( n + 1 ) 2 = m 2 \frac { n(n+1) }{ 2 } =m^{ 2 } , such that m , n m,n\in \aleph . Note that n n and n + 1 n+1 have distinct parity, therefore one of them is even and the other is odd; also, note that g c d ( ( n + 1 ) / 2 , n ) = 1 gcd((n+1)/2,n)=1 , thus, the product can be expressed as n n + 1 2 n\cdot \frac { n+1 }{ 2 } or ( n + 1 ) n 2 (n+1)\cdot \frac { n }{ 2 } , where the two factors are coprime integers. As the product is a perfect square, each factor is also a square. Therefore, there exist some integers x , y x,y such that n = x 2 n=x^2 and n + 1 = 2 y 2 n+1=2y^2 , then x 2 2 y 2 = 1 x^2-2y^2=-1 , in the first case. In the second case, n + 1 = x 2 n+1=x^2 and n = 2 y 2 n=2y^2 , so x 2 2 y 2 = 1 x^2-2y^2=1 .

Hence, we're looking for the solutions to the equation x 2 2 y 2 = ± 1 { x }^{ 2 }-2{ y }^{ 2 }=\pm 1 . Note that once we find a pair ( x , y ) (x,y) that satisfies the equation, then ( w , z ) (w,z) , with w = x + 2 y w=x+2y and z = x + y z=x+y , also satisfies the equation, cause

w 2 2 z 2 = ( x + 2 y ) 2 2 ( x + y ) 2 = x 2 + 4 x y + 4 y 2 2 x 2 4 x y 2 y 2 = ( x 2 2 y 2 ) = 1 { w }^{ 2 }-2{ z }^{ 2 }={ (x+2y) }^{ 2 }-2{ (x+y) }^{ 2 }={ x }^{ 2 }+4xy+4y^{ 2 }-2{ x }^{ 2 }-4xy-2{ y }^{ 2 }=-({ x }^{ 2 }-2{ y }^{ 2 })=\mp 1

We can find easily a solution: ( 1 , 1 ) (1,1) , which generates the infinite sequence of solutions ( x , y ) (x,y) : ( 3 , 2 ) , ( 7 , 5 ) , ( 17 , 12 ) , ( 41 , 29 ) , ( 99 , 70 ) , . . . (3,2),(7,5),(17,12),(41,29),(99,70),...

Jon Sy
May 8, 2016

Hello By guess and check, we find 36 \boxed{36} is the smallest that works. Extension problem: What is the next smallest triangular number that is also a perfect square, or prove none exists. Extension to extension problem: Prove or disprove: There are infinitely many triangular numbers that are also perfect squares. How about perfect cubes? Or higher perfect powers? Thank

Those are good follow up questions!

Calvin Lin Staff - 5 years, 1 month ago

The next square triangular number is 1225. We can prove there are infinitely many solutions through Pell's Equation.

Every triangular number is of the form x ( x + 1 ) 2 \dfrac {x(x+1)}{2} , whereas every square number is of the form y 2 y^2 . We have

m ( m + 1 ) 2 = n 2 4 m 2 + 4 m = 8 n 2 ( 2 m + 1 ) 2 = 8 n 2 + 1 \begin{aligned} \dfrac{m(m+1)}{2} &= n^2\\ 4m^2+4m&=8n^2\\ (2m+1)^2=8n^2+1 \end{aligned}

Let x = 2 m + 1 x=2m+1 and y = 2 n y=2n . We have

x 2 2 y 2 = 1 x^2-2y^2=1

Which is a Pell's Equation. Thus, it has infinite solutions. Therefore, there are infinite square triangular numbers.

Sharky Kesa - 5 years ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...