MathCastle
Number TheoryChallengeFermat, Euler and Wilson

Fermat, Euler and Wilson · Challenge problem

Find the sum of all primes pp such that pp divides 5p+7p5^p + 7^p.