BdMO 2010 H. Sec. problem 8

Discussion on Bangladesh Mathematical Olympiad (BdMO) National
User avatar
Moon
Site Admin
Posts:751
Joined:Tue Nov 02, 2010 7:52 pm
Location:Dhaka, Bangladesh
Contact:
BdMO 2010 H. Sec. problem 8

Unread post by Moon » Tue Dec 07, 2010 9:56 pm

Find all prime numbers $p$ and integers $a$ and $b$ (not necessarily positive) such that $p^a + p^b$
is the square of a rational number.
"Inspiration is needed in geometry, just as much as in poetry." -- Aleksandr Pushkin

Please install LaTeX fonts in your PC for better looking equations,
learn how to write equations, and don't forget to read Forum Guide and Rules.

User avatar
nayel
Posts:268
Joined:Tue Dec 07, 2010 7:38 pm
Location:Dhaka, Bangladesh or Cambridge, UK

Re: BdMO 2010 H. Sec. problem 8

Unread post by nayel » Wed Dec 08, 2010 12:46 am

Hint: first think about when $p^a+p^b=n^2$, for some $n\in\mathbb N$.
"Everything should be made as simple as possible, but not simpler." - Albert Einstein

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

Re: BdMO 2010 H. Sec. problem 8

Unread post by Masum » Thu Dec 09, 2010 1:15 am

Moon wrote:Find all prime numbers $p$ and integers $a$ and $b$ (not necessarily positive) such that $p^a + p^b$
is the square of a rational number.
I am posting to find all such primes $p$. Let wlog $a\ge b$ (even if both negative or one positivd another negative). If $a=b,p=2$.Now let $a=b+c,c>0$.So $p^b(p^c+1)$ is a rational square.Since $gcd(p^b,p^c+1)=1$ when $b>0$or $gcd(p^d,p^c+1)=1$ when $b=-d,d>0$; we see that $p^c+1$ is a square. Now let $p^c+1=k^2 \Longrightarrow p^c=(k-1)(k+1)$. Then $k+1=p^x,k-1=p^y;p^x-p^y=p^y(p^{x-y}-1)=2 \Longrightarrow p=2,y=1$ or, $y=0,p=3,x=1$.
Last edited by Moon on Thu Dec 09, 2010 1:57 am, edited 2 times in total.
Reason: Mod EDIT:Use \Longrightarrow instead of \implies in the LaTeX code. Try not to use text in LaTeX code, as currently LaTeX does not support line breaking.
One one thing is neutral in the universe, that is $0$.

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

Re: BdMO 2010 H. Sec. problem 8

Unread post by Masum » Thu Dec 09, 2010 12:07 pm

Thanks for editing.Actually I posted it from mobile,so this problem occured.Hope I will be careful.
One one thing is neutral in the universe, that is $0$.

User avatar
Moon
Site Admin
Posts:751
Joined:Tue Nov 02, 2010 7:52 pm
Location:Dhaka, Bangladesh
Contact:

Re: BdMO 2010 H. Sec. problem 8

Unread post by Moon » Thu Dec 09, 2010 1:13 pm

No problem! This forum is new. So we all will make some mistakes. BTW I won't ban you for this! ;)
"Inspiration is needed in geometry, just as much as in poetry." -- Aleksandr Pushkin

Please install LaTeX fonts in your PC for better looking equations,
learn how to write equations, and don't forget to read Forum Guide and Rules.

User avatar
nayel
Posts:268
Joined:Tue Dec 07, 2010 7:38 pm
Location:Dhaka, Bangladesh or Cambridge, UK

Re: BdMO 2010 H. Sec. problem 8

Unread post by nayel » Thu Dec 09, 2010 4:38 pm

Well done!
"Everything should be made as simple as possible, but not simpler." - Albert Einstein

Hasib
Posts:238
Joined:Fri Dec 10, 2010 11:29 am
Location:খুলনা, বাংলাদেশ
Contact:

Re: BdMO 2010 H. Sec. problem 8

Unread post by Hasib » Fri Dec 10, 2010 11:48 am

How nice solution! I am not well know to use LaTeX or any code :cry:

so, please feel me. Dont ban me
A man is not finished when he's defeated, he's finished when he quits.

User avatar
Moon
Site Admin
Posts:751
Joined:Tue Nov 02, 2010 7:52 pm
Location:Dhaka, Bangladesh
Contact:

Re: BdMO 2010 H. Sec. problem 8

Unread post by Moon » Fri Dec 10, 2010 3:43 pm

No one going to be banned unless they violate all the rules of our forum. I was just cutting a joke when in my last post.

BTW here you can find how to write LaTeX without learning LaTeX code. :)

Anyway, welcome to our community. Just keep posting.
"Inspiration is needed in geometry, just as much as in poetry." -- Aleksandr Pushkin

Please install LaTeX fonts in your PC for better looking equations,
learn how to write equations, and don't forget to read Forum Guide and Rules.

User avatar
rakeen
Posts:384
Joined:Thu Dec 09, 2010 5:21 pm
Location:Dhaka

Re: BdMO 2010 H. Sec. problem 8

Unread post by rakeen » Fri Dec 10, 2010 6:53 pm

acha gcd ki?


BTW mod 3 bolte ki bujhay??
r@k€€/|/

User avatar
Zzzz
Posts:172
Joined:Tue Dec 07, 2010 6:28 am
Location:22° 48' 0" N / 89° 33' 0" E

Re: BdMO 2010 H. Sec. problem 8

Unread post by Zzzz » Fri Dec 10, 2010 7:24 pm

GCD means Greatest Common Divisor (গ.সা.গু)

$a\equiv b(mod\ n)$ means if you divide $a$ and $b$ by $n$, you will get same residue. In other words, $a-b$ is divisible by $n$.

You can read more here.
Every logical solution to a problem has its own beauty.
(Important: Please make sure that you have read about the Rules, Posting Permissions and Forum Language)

Post Reply