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.

A001510 a(n) = 2*a(n-1)*(a(n-1)-1) for n > 1, with a(0) = 1, a(1) = 2.

Original entry on oeis.org

1, 2, 4, 24, 1104, 2435424, 11862575248704, 281441383062305809756861824, 158418504200047111075388369241884118003210485743490304
Offset: 0

Views

Author

Keywords

References

  • N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Crossrefs

Programs

  • Mathematica
    (* a5 = A002715 *) a5[n_?OddQ] := a5[n] = 2*a5[n-1] + 1; a5[n_?EvenQ] := a5[n] = (a5[n-1]^2 - 3)/2; a5[0] = 3; a[n_] := a5[2*n - 4] + 1; a[0] = 1; a[1] = 2; Table[a[n], {n, 0, 8}] (* Jean-François Alcover, Jan 25 2013, after R. J. Mathar *)
    Join[{1}, RecurrenceTable[{a[1] == 2, a[n] == 2*a[n - 1]*(a[n - 1] - 1)}, a, {n, 1, 8}]] (* Amiram Eldar, Feb 02 2022 *)

Formula

a(n+2) = A002715(2*n) + 1. - R. J. Mathar, Apr 23 2007
a(n) = floor(1 + phi^(2^n)/2), where phi is the golden ratio (A001622) [Aho and Sloane, 1973]. - Amiram Eldar, Feb 02 2022

Extensions

Clarified definition, with thanks to Amiram Eldar, Feb 02 2022. - N. J. A. Sloane, Jan 09 2025