OFFSET
1,2
COMMENTS
Inspired by A127330.
LINKS
Ivan Neretin, Table of n, a(n) for n = 1..5151
EXAMPLE
In step 5 the numbers 2^4 to 2^4+4 are appended: 16, 17, 18, 19, 20.
MATHEMATICA
Table[2^n + k, {n, 0, 10}, {k, 0, n}] // Flatten (* Ivan Neretin, Aug 30 2015 *)
PROG
(Magma) &cat[ [2^k..2^k+k]: k in [0..11] ];
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Klaus Brockhaus, Mar 31 2007
STATUS
approved