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, {7, 10}, 50][[All, 1]] (* Harvey P. Dale, Mar 08 2020 *)
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, 7, 10) \\ Colin Barker, Jul 29 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved