How many positive integers n exist such that there are two or more distinct perfect n t h powers which are one more than a prime?
If you believe there are infinitely many such n , submit your answer as − 1 .
For example, n = 1 works because 6 1 is one more than 5 which is prime, and 8 1 is one more than 7 which is prime.
Note: A perfect n t h power can be expressed in the form x n , where x is a natural number
This is a generalized version of a post from the math subreddit where n = 3
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.
Let n be an even number such that n = 2 s .
x 2 s − 1 = p
( x s − 1 ) ( x s + 1 ) = p
Since p is prime it only has two factors, 1 and p . Since x > 0 , ( x s − 1 ) = 1 ⟹ x = 2 s 1 . Since, 1 < 2 s 1 < 2 , ∀ s > 1 ⟹ 1 < x < 2 meaning x is not an integer. Therefore, n has to be odd.
So if n = 2 s + 1 , then x 2 s + 1 − 1 = p . Factoring ( x − 1 ) we get that ( x − 1 ) r = 0 ∑ 2 s x r . Repeating our argument, r = 0 ∑ 2 s x r = 1 iff s = 0 which yields trivial n = 1 therefore ( x − 1 ) = 1 → x = 2 . Whether or not r = 0 ∑ 2 s x r = p is now unimportant since x = 2 thus proving that x can't take at least 2 values implying the answer is 1 .
Problem Loading...
Note Loading...
Set Loading...
claim: n = 1 is the only n where this works.
proof: We are looking for primes of the form p = x n − 1 where x is a natural number and n is a positive integer.
The case for n = 1 was given in the problem to work.
If n ≥ 2 , then we can factor p = x n − 1 as
p = x n − 1 = ( x − 1 ) ( i = 0 ∑ n − 1 x i )
Now, for p to be prime, then either x − 1 = 1 or the sum is equal to 1 .
If x = 0 then for all n , p = x n − 1 = − 1 which is not prime.
If x ≥ 1 and n ≥ 2 , then
i = 0 ∑ n − 1 x i > 1
so that for p to be prime, it follows that x − 1 = 1 or that x = 2 . Since this is the only possibility, it is impossible for two or more distinct x to result in p = x n − 1 being prime for all n ≥ 2 . Hence, 1 is the final answer.