OFFSET
0,1
COMMENTS
This coincides with the Pisot T(8,65) sequence as defined in A008776 at least up to n <= 14000. - R. J. Mathar, Feb 13 2016
LINKS
FORMULA
Empirical g.f.: -(x^6+x^5+x^4+x^3-x-8) / (x^7+x^6+x^5+x^4-x^2-8*x+1). - Colin Barker, Dec 02 2014
MATHEMATICA
RecurrenceTable[{a[1] == 8, a[2] == 65, a[n] == Ceiling[a[n-1]^2/a[n-2]] - 1}, a, {n, 30}] (* Bruno Berselli, Feb 17 2016 *)
PROG
(PARI)
T(a0, a1, maxn) = a=vector(maxn); a[1]=a0; a[2]=a1; for(n=3, maxn, a[n]=floor(a[n-1]^2/a[n-2])); a
T(8, 65, 100) \\ Colin Barker, Dec 02 2014
(Magma) Tiv:=[8, 65]; [n le 2 select Tiv[n] else Ceiling(Self(n-1)^2/Self(n-2))-1: n in [1..30]]; // Bruno Berselli, Feb 17 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved