cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A129143 Start with the empty sequence and append in step k the consecutive numbers 2^(k-1) to 2^(k-1)+k-1.

Original entry on oeis.org

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

Views

Author

Klaus Brockhaus, Mar 31 2007

Keywords

Comments

Inspired by A127330.

Examples

			In step 5 the numbers 2^4 to 2^4+4 are appended: 16, 17, 18, 19, 20.
		

Crossrefs

Programs

  • Magma
    &cat[ [2^k..2^k+k]: k in [0..11] ];
  • Mathematica
    Table[2^n + k, {n, 0, 10}, {k, 0, n}] // Flatten (* Ivan Neretin, Aug 30 2015 *)