OFFSET
1,1
LINKS
Robert Price, Table of n, a(n) for n = 1..9
F. Firoozbakht, M. F. Hasler, Variations on Euclid's formula for Perfect Numbers, JIS 13 (2010) #10.3.1.
Henri & Renaud Lifchitz, PRP Records
OpenPFGW Project, Primality Tester
FORMULA
a(n) = 3^A219038(n) - 14. - Elmo R. Oliveira, Nov 11 2023
MATHEMATICA
Select[Table[3^k - 14], {k, 3, 100}], PrimeQ[#] &]
PROG
(PARI) lista(nn) = for(n=3, nn, if(isprime(p=3^n-14), print1(p", "))); \\ Altug Alkan, Jul 25 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert Price, Jul 24 2017
STATUS
approved