Sum of two squares

For discussing Olympiad Level Number Theory problems
anoy9021
Posts:1
Joined:Tue Mar 08, 2011 10:38 pm
Sum of two squares

Unread post by anoy9021 » Tue Apr 19, 2011 8:42 pm

If the difference of the cubes of two consecutive number is square number,then the root of that square number can be written the sum of squares of 2 consecutive numbers.
Example: $8^3-7^3=13^2,13=2^2+3^2$
Last edited by Masum on Sun Apr 24, 2011 10:01 am, edited 4 times in total.
Reason: Five facts: (1). Use either bengali or english, not both at a time (2). This edition offers a correct spelling of the word square (3). Why don't you use latex? (4). Why have you written $13$ in words like thirteen? (5). Use common sense to give a suitable

User avatar
*Mahi*
Posts:1175
Joined:Wed Dec 29, 2010 12:46 pm
Location:23.786228,90.354974
Contact:

Re: Sum of two squares

Unread post by *Mahi* » Fri Apr 22, 2011 7:24 pm

Why have you posted the same thing twice? There is no need to do this.
Last edited by *Mahi* on Sun Apr 24, 2011 5:30 pm, edited 1 time in total.
Please read Forum Guide and Rules before you post.

Use $L^AT_EX$, It makes our work a lot easier!

Nur Muhammad Shafiullah | Mahi

User avatar
Masum
Posts:592
Joined:Tue Dec 07, 2010 1:12 pm
Location:Dhaka,Bangladesh

Re: Sum of two squares

Unread post by Masum » Sun Apr 24, 2011 10:13 am

anoy9021 wrote:If the difference of the cubes of two consecutive number is square number,then the root of that square number can be written the sum of squares of 2 consecutive numbers.
Example: $8^3-7^3=13^2,13=2^2+3^2$
Firstly, see the reasons of editing. And don't make double posts, it creates confusion. I have deleted the second one. In these cases, contact with the moderators. :)
Anyway, here is a solution.
$\text{Solution}$ :
$\ \ \ \ (x+1)^3-x^3=y^2$
$\Longrightarrow y^2=3x^2+3x+1$
$\Longrightarrow 4y^2=3(4x^2+4x+1)+1$
$\Longrightarrow (2y+1)(2y-1)=3(2x+1)^2$
Note that $gcd(2y+1,2y-1)=1$.
So let $(2x+1)=mn$ with $gcd(m,n)=1$
We have two cases :
$\#1$. $2y+1=m^2,2y-1=3n^2$.
This implies $m^2-3n^2=2\Longrightarrow m^2\equiv-1\pmod3$, contradiction!
$\#2$. $2y+1=3m^2,2y-1=n^2$.
Then $n$ odd, say $n=2t+1$, we have $y=t^2+(t+1)^2$,as desired.
One one thing is neutral in the universe, that is $0$.

User avatar
*Mahi*
Posts:1175
Joined:Wed Dec 29, 2010 12:46 pm
Location:23.786228,90.354974
Contact:

Re: Sum of two squares

Unread post by *Mahi* » Sun Apr 24, 2011 5:40 pm

I didn't , honestly!
Please read Forum Guide and Rules before you post.

Use $L^AT_EX$, It makes our work a lot easier!

Nur Muhammad Shafiullah | Mahi

Post Reply