There is only one prime number p for which 1 6 p + 1 is a perfect cube. Find the prime p .
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.
16|m-1 ? what is that?
Log in to reply
| is a notation for 'divides', in other words 'is a factor of'.
It means that m-1 can be divided by 16 without any remainder.
16 divise m-1
It means 16 devides
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.
I could not find if 307 is prime. Can you tell the factors of 307???
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.)
Write 1 6 p + 1 = n 3 or 1 6 p = n 3 − 1 = ( n − 1 ) ( n 2 + n + 1 ) . Now n 2 + n + 1 is odd for all n . Consider the factorization of n 2 + n + 1 into (odd) primes: Since 1 6 p has only one odd prime factor, p , we must have p = n 2 + n + 1 and therefore 1 6 = n − 1 . Thus n = 1 7 and p = 3 0 7 .
1 6 p + 1 = ( n + 1 ) 3 = n 3 + 3 n 2 + 3 n + 1 where n is a positive integer.
1 6 p = n 3 + 3 n 2 + 3 n = n ( n 2 + 3 n + 3 )
Is n odd or even? If n is odd, then ( n 2 + 3 n + 3 ) is odd as well which means 1 6 p is odd. This is absurd as p is an integer. So n has to be even. Even then, ( n 2 + 3 n + 3 ) is odd which tells us that n has to be divisible by 16. Let n = 1 6 k where k is a positive integer.
1 6 p = 1 6 k ( ( 1 6 k ) 2 + 3 ( 1 6 k ) + 3 )
p = k ( 2 5 6 k 2 + 4 8 k + 3 ) . For p to be prime, k = 1 so it follows that p = 2 5 6 + 4 8 + 3 = 3 0 7 which is indeed prime.
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.
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
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
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
Problem Loading...
Note Loading...
Set Loading...
Let 1 6 p + 1 = m 3 for some integer m . Then, 1 6 p = m 3 − 1 = ( m − 1 ) ( m 2 + m + 1 ) = ( m − 1 ) ( m ( m + 1 ) + 1 ) Since m ( m + 1 ) is a product of two consecutive integers, it is even. Hence the second factor ( m ( m + 1 ) + 1 ) is odd. Thus it must be that 1 6 ∣ m − 1 . Let m − 1 = 1 6 k , for some integer k . Then, we have p = k ( ( 1 6 k + 1 ) 2 + ( 1 6 k + 1 ) + 1 ) However, since p is a prime, we must have k = 1 . This implies p = 1 7 2 + 1 7 + 1 = 3 0 7 It can be verified that 3 0 7 is a prime and satisfies the required condition.