INMO 2008!

Find p + x + y p+x+y such that p x = y 4 + 4 p^{x}=y^{4}+4 where p p is a prime and x , y x,y are natural numbers.


The answer is 7.

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

Racchit Jain
Dec 21, 2015

We begin with the standard factorization y 4 + 4 = ( y 2 2 y + 2 ) ( y 2 + 2 y + 2 ) y^{4}+4=(y^{2}-2y+2)(y^{2}+2y+2) .

Thus, we have y 2 2 y + 2 = p m y^{2}-2y+2=p^{m} and y 2 + 2 y + 2 = p n y^{2}+2y+2=p^{n} for some positive integers m m and n n such that m + n = x m+n=x .

Since y 2 2 y + 2 < y 2 + 2 y + 2 y^{2}-2y+2<y^{2}+2y+2 , we have m < n m<n so that p m p^{m} divides p n p^{n} .

Thus, y 2 2 y + 2 y^{2}-2y+2 divides y 2 + 2 y + 2 y^{2}+2y+2 .

Writing y 2 2 y + 2 = y 2 + 2 y + 2 4 y y^{2}-2y+2=y^{2}+2y+2-4y we infer that y 2 2 y + 2 y^{2}-2y+2 divides 4 y 4y and hence y 2 2 y + 2 y^{2}-2y+2 divides 4 y 2 4y^{2} .

But 4 y 2 = 4 ( y 2 2 y + 2 ) + 8 ( y 1 ) 4y^{2}=4(y^{2}-2y+2)+8(y-1) thus, y 2 2 y + 2 y^{2}-2y+2 divides 8 ( y 1 ) 8(y-1) , so it also divides 8 8 .

This gives y 2 2 y + 2 = 1 , 2 , 4 , 8 y^{2}-2y+2=1,2,4,8 . If y 2 2 y + 2 = 1 y^{2}-2y+2=1 , then y = 1 y=1 And y 4 + 4 = 5 y^{4}+4=5 , giving p = 5 p=5 and x = 1 x=1 .

If y 2 2 y + 2 = 2 y^{2}-2y+2=2 , then y 2 2 y = 0 y^{2}-2y=0 Giving y = 2 y=2 , but then y 4 + 4 = 20 y^{4}+4=20 is not the power of a prime.

The equations y 2 2 y + 2 = 4 y^{2}-2y+2=4 and y 2 2 y + 2 = 8 y^{2}-2y+2=8 have no integer solutions we conclude that ( p , x , y ) = ( 5 , 1 , 1 ) (p,x,y)=(5,1,1) is the only solution, so p + x + y = 7 p+x+y=\boxed{7} .

I assume that's a typo.

y 2 2 y + 2 = y 2 + 2 y + 2 + 4 y y^{2}-2y+2=y^{2}+2y+2+4y

Akshat Sharda - 5 years, 5 months ago

Log in to reply

Oh! Sorry it should be y 2 2 y + 2 = y 2 + 2 y + 2 4 y y^{2}-2y+2=y^{2}+2y+2-4y

Racchit Jain - 5 years, 5 months ago

What about p=2, x=2 and y=0?

Lucas Teixeira - 5 years, 5 months ago

Log in to reply

x and y are positive

Julian Fuller - 5 years, 5 months ago

y belongs to natural no. We can't take Zero

ramesh perumal - 5 years, 5 months ago

Just a question, how can we know that y 2 2 y + 2 y^{2}-2y+2 doesn't divide ( y 1 ) (y-1) ?

Johan Malmport - 5 years, 5 months ago

Log in to reply

You can use the remainder theorem and let y = 1 y=1 , y 2 2 y + 2 = 1 0 y^2-2y+2=1\neq 0

Allan Zhao - 5 years, 5 months ago

Log in to reply

Ah, okay. Thanks a lot!

Johan Malmport - 5 years, 5 months ago

I like this solution, I didn't do it nearly as rigorously but rather inferred that there was a unique solution based on the requested response then checked for trivial solutions. Perhaps asking for the number of solutions and use a multiple choice answer framework (N=1, 2, finite, infinite) would force people to be more rigorous in their solutions rather than using guess and check or brute force method.

James Clark - 5 years, 5 months ago
Angel Krastev
Jan 5, 2016

Ans. 7. I wrote a little program in Liberty Basic and checked all prime numbers up to 1013. Here is one solution p=5, x=1, y=1. Because they are asking for p+x+y, the answer is 5+1+1=7. I also found two more examples when p is not a prime number: p=20, x=1, y=2 (ans. 23) and p=85, x=1, y=3 (ans. 89).

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...