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.

Showing 1-1 of 1 results.

A098117 a(n) = 5^(prime(n) - 1) + 5^prime(n) - 1.

Original entry on oeis.org

29, 149, 3749, 93749, 58593749, 1464843749, 915527343749, 22888183593749, 14305114746093749, 223517417907714843749, 5587935447692871093749, 87311491370201110839843749, 54569682106375694274902343749, 1364242052659392356872558593749
Offset: 1

Views

Author

Parthasarathy Nambi, Sep 23 2004

Keywords

Examples

			a(1) = 5^(2 - 1) + (5^2 - 1) = 29.
		

Crossrefs

Cf. A097743.

Programs

  • Magma
    [5^(NthPrime(n)-1) + 5^NthPrime(n) - 1: n in [1..20]]; // Vincenzo Librandi, Aug 27 2015
  • Mathematica
    Table[5^(Prime[n] - 1) + (5^Prime[n] - 1), {n, 1, 15}] (* Stefan Steinerberger, Feb 28 2006 *)
  • PARI
    main(m)=forprime(p=2,100, print1(", ",5^(p-1) + (5^p - 1))) \\ Anders Hellström, Aug 26 2015
    

Formula

a(n) = A198764(prime(n)-1) = A198764(A000040(n)-1). - Michel Marcus, Aug 27 2015

Extensions

More terms from Stefan Steinerberger, Feb 28 2006
a(14) from Vincenzo Librandi, Aug 27 2015
Showing 1-1 of 1 results.