login
A129142
Start with the empty sequence and append in step k the consecutive numbers 2^k-1 to 2^k+k-2.
2
1, 3, 4, 7, 8, 9, 15, 16, 17, 18, 31, 32, 33, 34, 35, 63, 64, 65, 66, 67, 68, 127, 128, 129, 130, 131, 132, 133, 255, 256, 257, 258, 259, 260, 261, 262, 511, 512, 513, 514, 515, 516, 517, 518, 519, 1023, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 2047
OFFSET
1,2
COMMENTS
Inspired by A127330.
EXAMPLE
In step 4 the numbers 2^4-1 to 2^4+4-2 are appended: 15, 16, 17, 18.
PROG
(Magma) &cat[ [2^k-1..2^k+k-2]: k in [1..11] ];
CROSSREFS
Sequence in context: A109054 A350690 A363751 * A359749 A075752 A046541
KEYWORD
nonn,easy
AUTHOR
Klaus Brockhaus, Mar 31 2007
STATUS
approved