OFFSET
1,1
LINKS
Robert Price, Table of n, a(n) for n = 1..9
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^A219039(n) - 16. - Elmo R. Oliveira, Nov 12 2023
MATHEMATICA
Select[Table[3^k - 16], {k, 3, 100}], PrimeQ[#] &]
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert Price, Sep 02 2017
STATUS
approved