Do You Like "Odd" Primes?

Let P P denote the set of odd primes under 1000. p p is an element of P P that satisfies the following:

For any S = { p 1 , p 2 , , p k } P S=\{p_1,p_2,\ldots,p_k\}\subseteq P where k 2 k\ge 2 and p i p p_i\ne p for i = 1 , 2 , , k i=1,2,\ldots,k , there exists q P \ S q\in P\backslash S such that

q + 1 ( p 1 + 1 ) ( p 2 + 1 ) ( p k + 1 ) . q+1|(p_1+1)(p_2+1)\cdots(p_k+1).

Find the sum of all possible p p .


The answer is 168.

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.

1 solution

Xuming Liang
Jan 24, 2016

We claim that p p can only be Mersenne primes in P P , thus the answer is 3 + 7 + 31 + 127 = 168 3+7+31+127=\boxed {168} . Let M = { 3 , 7 , 31 , 127 } M=\{3,7,31,127\} denote the set of odd Mersenne primes under 1000 1000 .

Suppose p M p\notin M . Consider when S = M S=M , then there exists a non-mersenne prime q q that satisfies q + 1 ( 3 + 1 ) ( 7 + 1 ) ( 31 + 1 ) ( 127 + 1 ) q + 1 2 17 q+1|(3+1)(7+1)(31+1)(127+1)\implies q+1|2^{17} It follows that q + 1 q+1 is a power of 2 2 or q q is a Mersenne prime, which contradicts q q being non-mersenne. Hence p M p\in M .

To show that p M p\in M works, assume by the contrary that it does not. This means that there exists a subset S S such that any q q that satisfies the divisibility condition must be an element of S S . With this observation in mind, we know 3 S 3\in S because 4 ( p 1 + 1 ) ( p 2 + 1 ) . . . ( p k + 1 ) 4|(p_1+1)(p_2+1)...(p_k+1) for any odd primes p i p_i . Similarly, 8 ( 3 + 1 ) ( p 2 + 1 ) . . . ( p k + 1 ) 8|(3+1)(p_2+1)...(p_k+1) is true for odd primes p i p_i (note that k 2 k\ge 2 ), therefore 7 S 7\in S . In the same inductive manner we can show that the rest of the Mersenne primes are elements of S S . However, this contradicts the assumption that p M p\in M ; hence p M p\in M must work.


What great timing that a new Mersenne prime was recently discovered!

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...