OFFSET
0,3
EXAMPLE
The sequence grouped by (ascending) runs, where the n-th run, for n>=1, consists of a(n-1) integers: 1, (1), (2), (3, 4), (4, 5, 6), (5, 6, 7, 8), (6, 7, 8, 9), (7, 8, 9, 10, 11), (8, 9, 10, 11, 12, 13), (9, 10, 11, 12, 13), ...
MATHEMATICA
f[l_List] := Block[{n = Length[l]}, Append[l, Range[n, Flatten[l][[n]] + n - 1]]]; Flatten@Nest[f, {{1}}, 16] (* Ray Chandler, Jan 05 2007 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Leroy Quet, Jan 01 2007
EXTENSIONS
Extended by Ray Chandler, Jan 05 2007
STATUS
approved