Prime towers

Find the last three digits of the sum of all (positive) primes p<1000,p<1000, such that for some integer nn, the expression n2pnn^2-pn is a prime power.

Details and assumptions

A prime power is a number of the form qm q^m where qq is a prime and mm is a positive integer.

×

Problem Loading...

Note Loading...

Set Loading...