OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..7
FORMULA
a(n) = (3^A172995(n)+7)/2.
MATHEMATICA
Select[Table[(3^n + 7)/2, {n, 500}], PrimeQ] (* Vincenzo Librandi, Sep 24 2015 *)
PROG
(Magma) [a: n in [0..500] | IsPrime(a) where a is (3^n+7) div 2]; // Vincenzo Librandi, Sep 24 2015
(PARI) for(n=1, 1e3, if(isprime(k=(3^n+7)/2), print1(k", "))) \\ Altug Alkan Sep 24 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
Vincenzo Librandi, Feb 07 2010
STATUS
approved