Is the answer small?

There is only one prime number p p for which 16 p + 1 16p +1 is a perfect cube. Find the prime p p .


The answer is 307.

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.

9 solutions

Abhishek Sinha
Apr 14, 2015

Let 16 p + 1 = m 3 16p+1=m^3 for some integer m m . Then, 16 p = m 3 1 = ( m 1 ) ( m 2 + m + 1 ) = ( m 1 ) ( m ( m + 1 ) + 1 ) 16p=m^3-1=(m-1)(m^2+m+1)=(m-1)\big(m(m+1)+1\big) Since m ( m + 1 ) m(m+1) is a product of two consecutive integers, it is even. Hence the second factor ( m ( m + 1 ) + 1 ) \big(m(m+1)+1\big) is odd. Thus it must be that 16 m 1 16 | m-1 . Let m 1 = 16 k m-1=16k , for some integer k k . Then, we have p = k ( ( 16 k + 1 ) 2 + ( 16 k + 1 ) + 1 ) p=k\big((16k+1)^2+(16k+1)+1\big) However, since p p is a prime, we must have k = 1 k=1 . This implies p = 1 7 2 + 17 + 1 = 307 p=17^2+17+1=307 It can be verified that 307 307 is a prime and satisfies the required condition.

16|m-1 ? what is that?

Aniruddha Singhal - 6 years, 1 month ago

Log in to reply

| is a notation for 'divides', in other words 'is a factor of'.

Stewart Gordon - 6 years, 1 month ago

It means that m-1 can be divided by 16 without any remainder.

Fatra FanFir - 6 years, 1 month ago

16 divise m-1

Med Amine Fathi - 6 years, 1 month ago

It means 16 devides

Santosh Kumar Padhy - 5 years, 4 months ago

I think (m-1) can only be 16. It is evident from the equation 16(p)=(m-1)(odd expression). As, that odd expression has to be prime. Because it cannot be a factor of 2 and 16=2^4. So in layman terms, all the 2's belong to 16 because they cannot go anywhere else. So, instead of writing 16|(m-1) , you should write 16=m-1. Correct me if I am wrong.

Pranshu Upadhaya - 5 years, 8 months ago

Log in to reply

Yes, that's Right!

Zakir Dakua - 5 years, 8 months ago

I could not find if 307 is prime. Can you tell the factors of 307???

Hetav Panchani - 5 years, 9 months ago

Log in to reply

See for yourself - does any of 2, 3, 5, 7, 11, 13 or 17 divide 307? (You need only check up to the square root of the number you're testing.)

Stewart Gordon - 5 years, 9 months ago
Otto Bretscher
Apr 16, 2015

Write 16 p + 1 = n 3 16p+1=n^3 or 16 p = n 3 1 16p=n^3-1 = ( n 1 ) ( n 2 + n + 1 ) =(n-1)(n^2+n+1) . Now n 2 + n + 1 n^2+n+1 is odd for all n n . Consider the factorization of n 2 + n + 1 n^2+n+1 into (odd) primes: Since 16 p 16p has only one odd prime factor, p p , we must have p = n 2 + n + 1 p=n^2+n+1 and therefore 16 = n 1 16=n-1 . Thus n = 17 n=17 and p = 307 p=307 .

very nice!

Andrea Palma - 6 years, 1 month ago

Nice Solution!

hanif adzkiya - 5 years, 3 months ago
Noel Lo
May 21, 2015

16 p + 1 = ( n + 1 ) 3 = n 3 + 3 n 2 + 3 n + 1 16p + 1 = (n+1)^3 = n^3 +3n^2 + 3n + 1 where n is a positive integer.

16 p = n 3 + 3 n 2 + 3 n = n ( n 2 + 3 n + 3 ) 16p = n^3+ 3n^2 + 3n = n(n^2 + 3n + 3)

Is n odd or even? If n is odd, then ( n 2 + 3 n + 3 ) (n^2 + 3n + 3) is odd as well which means 16 p 16p is odd. This is absurd as p is an integer. So n has to be even. Even then, ( n 2 + 3 n + 3 ) (n^2+ 3n+ 3) is odd which tells us that n has to be divisible by 16. Let n = 16 k n=16k where k is a positive integer.

16 p = 16 k ( ( 16 k ) 2 + 3 ( 16 k ) + 3 ) 16p = 16k((16k)^2 + 3(16k)+ 3)

p = k ( 256 k 2 + 48 k + 3 ) p = k(256k^2+48k+3) . For p to be prime, k = 1 k=1 so it follows that p = 256 + 48 + 3 = 307 p = 256+48+3 = \boxed{307} which is indeed prime.

Mukul Sharma
May 3, 2015

Did the same way.

Richard Levine
Apr 23, 2015

16p = x^3 - 1 = (x-1)(x^2 + x + 1) = even times odd since x must be odd. 16p must only factor into 16 times p, since all other factors would be even times even or odd times even. So, x-1 = 16, resulting in x = 17. We get p = x^2 + x + 1 = 17^2 + 17 + 1 = 307.

Sunil Pradhan
Apr 23, 2015

Let 16 p+ 1 = x³

so x³ – 1= 16p

(x – 1)(x² + x + 1) = 16p

p = (x – 1)(x² + x + 1)/16

as p is integer (x – 1)(x² + x + 1) is divisible by 16

this possible when x = 17, 33, 49 ..,

all above expect 17 are composite. so p = 17

after solving , x = 17 , p = 307

Gamal Sultan
Apr 17, 2015

16 p + 1 = m^3

So

p does not equal 2, i e p is odd

16 p = (m - 1)(m^2 + m + 1) ................ (1)

(m^2 + m + 1) = [m(m + 1) + 1] = odd number,

So

(m -1) is divisible by 16

i e

m - 1 = 16 k ...............................................(2)

Substituting from (2) in (1) we get

p = k (m^2 + m + 1) , but p is prime

So

k = 1

m = 17

p = 17^2 + 17 + 1 = 307

Abdulahi Abdinur
Apr 16, 2015

I wrote a program which checked whether a number was a prime number. If it was, it checked whether that number multiplied by 16 and added to 1 equaled to the cube of numbers from 0 to 50. def main(): for i in range(2,1000): if(isPrime(i)): for n in range(50): num = n n n comp = 16*i + 1 if(num == comp): print(i) def isPrime(n): if(n == 2 or n == 3) : return True for i in range(2,n): if(n % i == 0): return False return True

Tyler Zhu
Apr 16, 2015

Also 2015 AIME I #3.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...