|
|
A010919
|
|
Pisot sequence T(4,13), a(n) = floor(a(n-1)^2/a(n-2)).
|
|
5
|
|
|
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
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,1
|
|
LINKS
|
|
|
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
|
|
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 *)
|
|
PROG
|
(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
}
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|