OFFSET
0,2
EXAMPLE
{1}, {2,0}, {3,1,-1,1}, {4,2,0,-2,2,0,0,2,0} have lengths 1, 2, 4, 9.
MATHEMATICA
Length/@Flatten/@NestList[ # /. k_Integer:>Range[k+1, -Abs[k], -2]&, {1}, 16]
CROSSREFS
KEYWORD
nonn
AUTHOR
Wouter Meeussen, May 11 2003
EXTENSIONS
a(17)-a(19) from Robert G. Wilson v, Aug 17 2009
STATUS
approved