OFFSET
0,1
LINKS
Colin Barker, Table of n, a(n) for n = 0..1000
FORMULA
G.f.: (-3x^5+2x^4+x^3-x^2-2x+4)/[(1-x)(1-2x-x^2-2x^5)] (conjectured). - Ralf Stephan, May 12 2004
Note the warning in A010925 from Pab Ter (pabrlos(AT)yahoo.com), May 23 2004: [A010925] and other examples show that it is essential to reject conjectured generating functions for Pisot sequences until a proof or reference is provided. - N. J. A. Sloane, Jul 26 2016
MATHEMATICA
RecurrenceTable[{a[0]==4, a[1]==10, a[n]==Floor[a[n-1]^2/a[n-2]]}, a, {n, 30}] (* Harvey P. Dale, Dec 26 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
}
pisotT(50, 4, 10) \\ Colin Barker, Jul 29 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved