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

A093793
Numbers n such that 5^n+4^(n-1) is prime.
19
2, 6, 22, 94, 622, 910, 1058, 1306, 4430, 18914, 23654, 35630, 52846, 63498, 85630
OFFSET
1,1
COMMENTS
a(16) > 10^5. - Robert Price, Mar 08 2016
EXAMPLE
22 is a member since 522+421 = 2388583837526729 which is a prime number.
MATHEMATICA
Do[ If[ PrimeQ[5^n + 4^(n - 1)], Print[n]], {n, 5000}]
PROG
(PARI) is(n)=isprime(5^n+4^(n-1)) \\ Charles R Greathouse IV, Feb 17 2017
KEYWORD
nonn
AUTHOR
Herman H. Rosenfeld (herm3(AT)pacbell.net), May 17 2004
EXTENSIONS
More terms from Robert G. Wilson v, Jun 18 2004
a(10)-a(15) from Robert Price, Mar 08 2016
STATUS
approved