MathLabs

Problem 6

Let pp be a prime number. Prove that there exists a prime number qq such that for every integer nn, the number np−pn^p-p is not divisible by qq.
Step 3 of 3: Exclude every integer
In plain words

Exclude every integer

np≢p(modq)n^p\not\equiv p\pmod q
Detailed analysis

If np≡p(modq)n^p\equiv p\pmod q, the cyclic-group criterion for ppth powers gives pk≡1(modq)p^k\equiv1\pmod q. But pp has order pp and p∤kp\nmid k, contradiction. Thus qq divides none of np−pn^p-p.