OFFSET
1,2
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
FORMULA
a(n) = (ceiling(sqrt(2*a(n-1))))^2.
lim_{n->oo} (a(n+1)/a(n)) = 2.
MATHEMATICA
NestList[(Floor[Sqrt[2#]]+1)^2&, 1, 40] (* Harvey P. Dale, Jul 26 2017 *)
PROG
(PARI) {a=1; print1(a, ", "); for(i=1, 40, a=(ceil(sqrt(2*a)))^2; print1(a, ", "))} /* Zak Seidov, Dec 04 2010 */
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Ctibor O. Zizka, Dec 04 2010
STATUS
approved