OFFSET
1,1
LINKS
Henri & Renaud Lifchitz, PRP Records.
EXAMPLE
a(1)=2 because 2^5 - 5^2 = 7 is prime
MATHEMATICA
Do[If[PrimeQ[(5^n-n^5)], Print[n]], {n, 1, 5000}]
PROG
(PARI) is(n)=isprime(5^n-n^5) \\ Charles R Greathouse IV, Feb 17 2017
CROSSREFS
KEYWORD
hard,more,nonn
AUTHOR
Mohammed Bouayoun (Mohammed.Bouayoun(AT)sanef.com), Apr 13 2006, Jan 08 2008
EXTENSIONS
a(5) found by Donovan Johnson
First five terms confirmed by Dmitry Kamenetsky, Dec 18 2008
STATUS
approved