What's with the restriction on p p ?

Find the number of solution triples ( p , a , b ) (p, a, b) to the equation

a + a + 8 p = 4 + 2 b \sqrt{a} + \sqrt{a + 8p} = 4 + 2^{b}

where a a and b b are positive integers and p < 100000 p \lt 100000 is prime.


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

Patrick Corn
Aug 26, 2014

Let a + 8 p = x 2 , a = y 2 a + 8p = x^2, a = y^2 . We get x + y = 4 + 2 b x+y = 4+2^b and x y = x 2 y 2 x + y = 8 p 4 + 2 b . x-y = \frac{x^2-y^2}{x+y} = \frac{8p}{4+2^b}.

From this we get that x x and y y are, respectively, 2 + 2 b 1 ± p 1 + 2 b 2 . 2+2^{b-1} \pm \frac{p}{1+2^{b-2}}.

Since x x and y y are rational numbers whose squares are integers, they must be integers themselves.

If b = 1 b =1 then they are 3 ± 2 p 3 3 \pm \frac{2p}3 , so p = 3 p = 3 leads to a solution ( 3 , 1 , 1 ) (3,1,1) .

If b = 2 b = 2 then they are 4 ± p 2 4 \pm \frac{p}2 , so p = 2 p = 2 leads to a solution ( 2 , 9 , 2 ) (2,9,2) .

Otherwise, the denominator is an odd integer > 1 > 1 , which must equal p p for x x and y y to be integral. But the only odd primes that are one more than powers of 2 2 are the Fermat primes, i.e. b 2 b-2 is a power of 2 2 . (This is a standard result.)

There are five odd Fermat primes less than 100000 100000 : 3 , 5 , 17 , 257 , 65537 3,5,17,257,65537 . So there are a total of 7 \fbox{7} solutions in all.

Excellent solution, Patrick. I believe though that you are referring to Fermat primes rather than Mersenne primes. These are the only 5 5 known Fermat primes, but it is an open question as to whether or not there are more, hence my restriction on p p , (just in case someone were to find more in the future).

Brian Charlesworth - 6 years, 9 months ago

Log in to reply

Yep, edited my answer to reflect.

Patrick Corn - 6 years, 9 months ago

For now I'll just list out the solution triples:

( 2 , 9 , 2 ) , ( 3 , 1 , 1 ) , ( 3 , 25 , 3 ) , ( 5 , 81 , 4 ) , ( 17 , 1089 , 6 ) , ( 257 , 263169 , 10 ) , ( 65537 , 17180131329 , 18 ) (2,9,2), (3,1,1), (3,25,3), (5,81,4), (17,1089,6), (257,263169,10), (65537,17180131329,18) .

The sequence of primes 3 , 5 , 17 , 257 , 65537 3, 5, 17, 257, 65537 should look familiar.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...