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”).

A213073
Numbers n such that (7^n - 4^n)/3 is prime.
1
2, 5, 11, 61, 619, 2879, 2957, 24371, 69247, 376463, 571199, 624803
OFFSET
1,1
COMMENTS
All terms are primes.
Next term > 10^6.
LINKS
Jon Grantham and Andrew Granville, Fibonacci primes, primes of the form 2^n-k and beyond, arXiv:2307.07894 [math.NT], 2023.
MATHEMATICA
k=7; Do[p=Prime[n]; f=(k^p-4^p)/(k-4); If[ PrimeQ[f], Print[p] ], {n, 1, 100}]
PROG
(PARI) is(n)=ispseudoprime((7^n-4^n)/3) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
KEYWORD
hard,more,nonn
AUTHOR
Robert Price, Jun 04 2012
EXTENSIONS
a(10)-a(12) from Jon Grantham, Jul 29 2023
STATUS
approved