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.

A010919 Pisot sequence T(4,13), a(n) = floor(a(n-1)^2/a(n-2)).

Original entry on oeis.org

4, 13, 42, 135, 433, 1388, 4449, 14260, 45706, 146496, 469546, 1504979, 4823727, 15460908, 49554976, 158832563, 509086778, 1631714194, 5229935889, 16762880107, 53728029453, 172207945799, 551957272549, 1769121798104, 5670351840955, 18174492018967
Offset: 0

Views

Author

Keywords

Crossrefs

Programs

  • Mathematica
    a[0] = 4; a[1] = 13; a[n_] := a[n] = Floor[a[n-1]^2/a[n-2]]; Array[a, 30, 0] (* Jean-François Alcover, Dec 14 2016 *)
  • PARI
    pisotT(nmax, a1, a2) = {
      a=vector(nmax); a[1]=a1; a[2]=a2;
      for(n=3, nmax, a[n] = floor(a[n-1]^2/a[n-2]));
      a
    }
    pisotT(50, 4, 13) \\ Colin Barker, Jul 29 2016

Formula

Appears to satisfy the g.f. (4+x-x^2-x^4-x^36)/(1-3*x-x^2+x^3+x^5+x^37), where there is a common factor of 1+x that can be canceled, so the sequence appears to satisfy a linear recurrence of order 36. I believe that David Boyd has proved that the sequence does indeed satisfy this recurrence. - N. J. A. Sloane, Aug 11 2016