Generator of P but not Q

Find the sum of all primes p<100p<100 such that q=2p+1q=2p+1 is a prime, and 22 is a generator modulo pp, but not modulo qq.

Details and assumptions

A residue aa is called a generator modulo prime pp if every non-zero residue modulo pp equals some power of aa modulo pp.

×

Problem Loading...

Note Loading...

Set Loading...