login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A098116
a(n) = 3^(p-1) + (3^p - 1) where p is the n-th prime.
0
11, 35, 323, 2915, 236195, 2125763, 172186883, 1549681955, 125524238435, 91507169819843, 823564528378595, 600378541187996483, 48630661836227715203, 437675956526049436835, 35451752478610004383715
OFFSET
1,1
EXAMPLE
a(1) = 3^(2-1) + 3^2 - 1 = 11.
MATHEMATICA
Table[3^(Prime[n] - 1) + (3^Prime[n] - 1), {n, 1, 20}] (* Stefan Steinerberger, Feb 28 2006 *)
CROSSREFS
Cf. A097743.
Sequence in context: A199817 A216034 A224790 * A217336 A123749 A159493
KEYWORD
nonn
AUTHOR
Parthasarathy Nambi, Sep 23 2004
EXTENSIONS
More terms from Stefan Steinerberger, Feb 28 2006
STATUS
approved