Determine all pairs (n,p)(n,p) of positive integers such that

pp is a prime,

nn not exceeded 2p2p, and

(p1)n+1(p-1)^n + 1 is divisible by np1n^{p-1}.