cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A098116 a(n) = 3^(p-1) + (3^p - 1) where p is the n-th prime.

Original entry on oeis.org

11, 35, 323, 2915, 236195, 2125763, 172186883, 1549681955, 125524238435, 91507169819843, 823564528378595, 600378541187996483, 48630661836227715203, 437675956526049436835, 35451752478610004383715
Offset: 1

Views

Author

Parthasarathy Nambi, Sep 23 2004

Keywords

Examples

			a(1) = 3^(2-1) + 3^2 - 1 = 11.
		

Crossrefs

Cf. A097743.

Programs

  • Mathematica
    Table[3^(Prime[n] - 1) + (3^Prime[n] - 1), {n, 1, 20}] (* Stefan Steinerberger, Feb 28 2006 *)

Extensions

More terms from Stefan Steinerberger, Feb 28 2006