OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..17
FORMULA
a(n) = 3^A058958(n) + 4. - Elmo R. Oliveira, Nov 09 2023
MATHEMATICA
Select[Table[3^n+4, {n, 0, 200}], PrimeQ] (* Vincenzo Librandi, Jul 19 2012 *)
PROG
(Magma) [a: n in [0..100] | IsPrime(a) where a is 3^n+4]; // Vincenzo Librandi, Jul 19 2012
CROSSREFS
KEYWORD
nonn
AUTHOR
Roger L. Bagula, Mar 01 2005
EXTENSIONS
Edited by Zak Seidov, Aug 29 2014
STATUS
approved