OFFSET
1,1
EXAMPLE
a(1) = 2*3^2 - 1 = 17.
MATHEMATICA
Do[Print[Prime[n]*3^(Prime[n]) - 1], {n, 1, 20}] (* Stefan Steinerberger, Feb 15 2006 *)
# 3^#-1&/@Prime[Range[20]] (* Harvey P. Dale, Jan 24 2012 *)
PROG
(Magma) [NthPrime(n)*3^NthPrime(n) - 1: n in [1..20]]; // Vincenzo Librandi, Aug 27 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
Parthasarathy Nambi, Dec 07 2004
EXTENSIONS
More terms from Stefan Steinerberger, Feb 15 2006
a(15)-a(16) from Vincenzo Librandi, Aug 27 2015
STATUS
approved