OFFSET
1,1
LINKS
Bruno Berselli, Table of n, a(n) for n = 1..1000
FORMULA
a(n) = 3^A227990(n).
MATHEMATICA
Table[3^IntegerExponent[Prime[n] + 1, 3], {n, 100}]
PROG
(PARI) forprime(p=2, 700, print1(3^valuation(p+1, 3), ", "));
(Magma) [3^Valuation(NthPrime(n)+1, 3): n in [1..100]];
CROSSREFS
KEYWORD
nonn
AUTHOR
Bruno Berselli, Aug 05 2013
STATUS
approved