login
A225397
Numbers n such that (16^n + 5^n)/21 is prime.
1
31, 109, 373, 409, 619, 823, 1531, 6637, 70687
OFFSET
1,1
COMMENTS
All terms are primes.
a(10) > 10^5.
MATHEMATICA
k=16; Do[p=Prime[n]; f=(k^p+5^p)/(k+5); If[ PrimeQ[f], Print[p] ], {n, 1, 9592}]
PROG
(PARI) is(n)=ispseudoprime((16^n+5^n)/21) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
KEYWORD
hard,more,nonn
AUTHOR
Robert Price, Jul 25 2013
STATUS
approved