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.

A005181 a(n) = ceiling(exp((n-1)/2)).

Original entry on oeis.org

1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 91, 149, 245, 404, 666, 1097, 1809, 2981, 4915, 8104, 13360, 22027, 36316, 59875, 98716, 162755, 268338, 442414, 729417, 1202605, 1982760, 3269018, 5389699, 8886111, 14650720, 24154953, 39824785, 65659970, 108254988, 178482301
Offset: 0

Views

Author

Keywords

Comments

This sequence illustrates the second law of small numbers because it is a coincidence that its first ten terms are the same as the first ten Fibonacci numbers (A000045). - Alonso del Arte, Mar 18 2013

References

  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
  • I. Stewart, L'univers des nombres, pp. 27 Belin-Pour La Science, Paris 2000.

Crossrefs

Programs

  • Maple
    seq(round(ceil(exp((n-1)/2))), n=0..50); # Vladimir Pletser, Sep 15 2013
  • Mathematica
    Table[Ceiling[E^((n - 1)/2)], {n, 0, 39}] (* Alonso del Arte, Mar 18 2013 *)
  • Python
    import math
    for n in range(99):
        print(str(int(math.ceil(math.e**((n-1)*0.5)))), end=', ')
    # Alex Ratushnyak, Mar 18 2013

Formula

Limit_{n->oo} a(n+1)/a(n) = sqrt(e) = 1.64872127... = A019774. - Alois P. Heinz, Feb 19 2019

Extensions

A few more terms from Alonso del Arte, Mar 18 2013