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.

A108155 Numbers of the forms 2^n-2, 2^n-1, 2^n, 2^n+1 and 2^n+2.

Original entry on oeis.org

-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 14, 15, 16, 17, 18, 30, 31, 32, 33, 34, 62, 63, 64, 65, 66, 126, 127, 128, 129, 130, 254, 255, 256, 257, 258, 510, 511, 512, 513, 514, 1022, 1023, 1024, 1025, 1026, 2046, 2047, 2048, 2049, 2050, 4094, 4095, 4096, 4097, 4098, 8190, 8191, 8192, 8193, 8194, 16382, 16383, 16384
Offset: 1

Views

Author

Henrik Lundquist (sploinker(AT)sploink.dk), Jun 06 2005

Keywords

Comments

This number sequence is designed for a quick test of e.g. arithmetic in binary systems.

Crossrefs

Cf. A107684.

Formula