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.

A010911 Pisot sequence E(3,11), a(n) = floor(a(n-1)^2/a(n-2) + 1/2).

Original entry on oeis.org

3, 11, 40, 145, 526, 1908, 6921, 25105, 91065, 330326, 1198213, 4346356, 15765820, 57188385, 207443151, 752472043, 2729490816, 9900859685, 35914032730, 130273308376, 472548850273, 1714107200301, 6217692609825, 22553841080350, 81811015661001, 296758421753528
Offset: 0

Views

Author

Keywords

Crossrefs

Cf. A108153.

Programs

  • Mathematica
    LinearRecurrence[{3, 2, 1}, {3, 11, 40}, 30] (* Jean-François Alcover, Oct 05 2018 *)
  • PARI
    x='x+O('x^33); Vec((3+2*x+x^2)/(1-3*x-2*x^2-x^3)) \\ Altug Alkan, Oct 05 2018

Formula

Is it true that a(n+3)=3*a(n+2)+2*a(n+1)+a(n)? - Claude Lenormand (claude.lenormand(AT)free.fr), Dec 05 2001
Empirical g.f.: (3+2*x+x^2) / (1-3*x-2*x^2-x^3). - Colin Barker, Jun 05 2016
Theorem: a(n) = 3 a(n - 1) + 2 a(n - 2) + a(n - 3) for n>=3. Proved using the PtoRv program of Ekhad-Sloane-Zeilberger, and implies the above conjectures. - N. J. A. Sloane, Sep 09 2016
a(n) = A108153(n+2). - Jinyuan Wang, Mar 10 2020