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.

A059406 a(n) = a(n-1)*(3a(n-1) + 1)/2 with a(1) = 1.

Original entry on oeis.org

1, 2, 7, 77, 8932, 119675402, 21483302825630107, 692298450446589820159203790062227, 718915716736124071145150312487360788973317227637596552328693330407
Offset: 1

Views

Author

Robert G. Wilson v, Jan 29 2001

Keywords

Comments

a(1) = 1, a(n+1) = sum of a(n) numbers beginning with a(n) + 1: a(2) = 2, a(3) = 3+4 = 7, a(4) = 8+9+...13+14 = 77. - Amarnath Murthy, Sep 07 2005

Examples

			a(3) = 7 so a(4) = 7*(3*7 + 1)/2 = 7*22/2 = 77.
		

Crossrefs

Cf. A000326.

Programs

  • Mathematica
    f[n_Integer] := n(3n + 1)/2; NestList[f, 2, 8]
  • PARI
    { a=2/3; for (n = 1, 12, write("b059406.txt", n, " ", a=a*(3*a + 1)/2); ) } \\ Harry J. Smith, Jun 26 2009

Formula

a(n) = A007501(n)/3 = A005449(a(n-1)). - Henry Bottomley, Oct 03 2001