login
A108155
Numbers of the forms 2^n-2, 2^n-1, 2^n, 2^n+1 and 2^n+2
0
-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,4
COMMENTS
This number sequence is designed for a quick test of e.g. arithmetic in binary systems.
FORMULA
CROSSREFS
Cf. A107684.
Sequence in context: A266352 A247144 A050726 * A134932 A134933 A136040
KEYWORD
sign
AUTHOR
Henrik Lundquist (sploinker(AT)sploink.dk), Jun 06 2005
STATUS
approved