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

A290241
Primes of the form 3^k - 8.
1
19, 73, 2179, 6553, 4782961, 3486784393, 31381059601, 381520424476945831628649898801, 2088595827392656793085408064780643444068898148936888424953199350259
OFFSET
1,1
LINKS
F. Firoozbakht and M. F. Hasler, Variations on Euclid's formula for Perfect Numbers, JIS 13 (2010) #10.3.1.
Henri and Renaud Lifchitz, PRP Records
OpenPFGW Project, Primality Tester
FORMULA
a(n) = 3^A217135(n) - 8. - Elmo R. Oliveira, Nov 09 2023
MATHEMATICA
Select[Table[3^k - 8], {k, 2, 100}], PrimeQ[#] &]
PROG
(PARI) lista(nn) = for(n=3, nn, if(isprime(p=3^n-8), print1(p", "))); \\ Altug Alkan, Jul 25 2017
CROSSREFS
Cf. A000040, A217135 (corresponding k's).
Sequence in context: A118593 A047979 A373668 * A159997 A073566 A098467
KEYWORD
nonn
AUTHOR
Robert Price, Jul 24 2017
STATUS
approved