OFFSET
0,1
LINKS
Colin Barker, Table of n, a(n) for n = 0..1000
MATHEMATICA
nxt[{a_, b_}]:={b, Floor[b^2/a]}; NestList[nxt, {6, 10}, 40][[All, 1]] (* Harvey P. Dale, Dec 27 2021 *)
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, 6, 10) \\ Colin Barker, Jul 29 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved