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

A083351
Numbers n such that 5*7^n + 2 is prime.
0
0, 1, 4, 9, 12, 25, 132, 192, 459, 10377, 45130, 63589, 83265
OFFSET
1,3
COMMENTS
Values corresponding to 9, 12, 25, 132, 192 and 459 (389 digits) have been certified prime with Primo. There are no other terms <= 4000.
No other terms <= 10^5. - Tyler NeSmith
EXAMPLE
7, 37, 12007, 201768037, 69206436007, 6705343098319824504037
are 5*7^0 + 2, 5*7^1 + 2, 5*7^4 + 2, 5*7^9 + 2, 5*7^12 + 2, 5*7^25 + 2,
respectively. 5*7^132 + 2 has 113 digits.
PROG
(PARI) for(n=0, 4000, if(isprime(5*7^n+2), print1(n, ", ")))
CROSSREFS
Sequence in context: A344578 A283105 A179808 * A055381 A287498 A359301
KEYWORD
nonn
AUTHOR
Rick L. Shepherd, Apr 26 2003
EXTENSIONS
a(10)-a(13) from Tyler NeSmith, Jan 17 2021
STATUS
approved