login
A129143
Start with the empty sequence and append in step k the consecutive numbers 2^(k-1) to 2^(k-1)+k-1.
3
1, 2, 3, 4, 5, 6, 8, 9, 10, 11, 16, 17, 18, 19, 20, 32, 33, 34, 35, 36, 37, 64, 65, 66, 67, 68, 69, 70, 128, 129, 130, 131, 132, 133, 134, 135, 256, 257, 258, 259, 260, 261, 262, 263, 264, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 1024, 1025, 1026, 1027, 1028
OFFSET
1,2
COMMENTS
Inspired by A127330.
LINKS
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
Sequence in context: A050026 A328413 A174788 * A039225 A348579 A052083
KEYWORD
nonn,easy
AUTHOR
Klaus Brockhaus, Mar 31 2007
STATUS
approved