OFFSET
0,1
LINKS
Colin Barker, Table of n, a(n) for n = 0..1000
D. W. Boyd, Some integer sequences related to the Pisot sequences, Acta Arithmetica, 34 (1979), 295-305.
D. W. Boyd, Linear recurrence relations for some generalized Pisot sequences, Advances in Number Theory ( Kingston ON, 1991) 333-340, Oxford Sci. Publ., Oxford Univ. Press, New York, 1993.
FORMULA
Known not to satisfy any linear recurrence.
MATHEMATICA
nxt[{a_, b_}]:={b, Floor[b^2/a+1/2]}; NestList[nxt, {9, 17}, 40][[All, 1]] (* Harvey P. Dale, Sep 22 2017 *)
PROG
(PARI) pisotE(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]+1/2));
a
}
pisotE(50, 9, 17) \\ Colin Barker, Jul 28 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved