OFFSET
0,2
EXAMPLE
{0}, {0,1}, {0,1,0,1,2}, {0,1,0,1,2,0,1,0,1,2,-1,0,1,2,3}
MATHEMATICA
{Length/@Flatten/@NestList[ # /. k:(_Integer|_Rational):>Range[ -Floor[Abs[k]/2], Floor[Abs[k]+3/2]]&, {0}, 11]}
CROSSREFS
KEYWORD
nonn
AUTHOR
Wouter Meeussen, May 11 2003
STATUS
approved