The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Inspired by A127330.
LINKS
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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 13 14:28 EDT 2024. Contains 372519 sequences. (Running on oeis4.)