login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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