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.

A001042 a(n) = a(n-1)^2 - a(n-2)^2.

Original entry on oeis.org

1, 2, 3, 5, 16, 231, 53105, 2820087664, 7952894429824835871, 63248529811938901240357985099443351745, 4000376523371723941902615329287219027543200136435757892789536976747706216384
Offset: 0

Views

Author

Keywords

Comments

The next term has 152 digits. - Franklin T. Adams-Watters, Jun 11 2009

References

  • Archimedeans Problems Drive, Eureka, 27 (1964), 6.
  • 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

Cf. A064236 (numbers of digits).

Programs

  • Haskell
    a001042 n = a001042_list !! n
    a001042_list = 1 : 2 : zipWith (-) (tail xs) xs
                   where xs = map (^ 2) a001042_list
    -- Reinhard Zumkeller, Dec 16 2013
  • Mathematica
    RecurrenceTable[{a[0]==1,a[1]==2,a[n]==a[n-1]^2-a[n-2]^2},a,{n,0,12}] (* Harvey P. Dale, Jan 11 2013 *)

Formula

a(n) ~ c^(2^n), where c = 1.1853051643868354640833201434870139866230288004895868726506278977814490371... . - Vaclav Kotesovec, Dec 17 2014

Extensions

More terms from James Sellers, Sep 19 2000.