login
A013189
All terms are squares and a(n) is length of n-th run.
3
1, 4, 4, 4, 4, 9, 9, 9, 9, 16, 16, 16, 16, 25, 25, 25, 25, 36, 36, 36, 36, 36, 36, 36, 36, 36, 49, 49, 49, 49, 49, 49, 49, 49, 49, 64, 64, 64, 64, 64, 64, 64, 64, 64, 81, 81, 81, 81, 81, 81, 81, 81, 81, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100
OFFSET
1,2
COMMENTS
Golomb's sequence using squares. - Benoit Cloitre, Apr 20 2003
LINKS
FORMULA
n-th term, divided by n, tends to square root of two.
MATHEMATICA
f[s_] := Join@@Table[i^2, {i, Length[s]}, {s[[i]]}]; Nest[f, {1, 4}, 3]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved