A099821 Odd positive integers in base 2 (bisection of A007088).
1, 11, 101, 111, 1001, 1011, 1101, 1111, 10001, 10011, 10101, 10111, 11001, 11011, 11101, 11111, 100001, 100011, 100101, 100111, 101001, 101011, 101101, 101111, 110001, 110011, 110101, 110111, 111001, 111011, 111101, 111111, 1000001
Offset: 1
Links
- N. J. A. Sloane, Table of n, a(n) for n = 1..1000
- Index entries for 2-automatic sequences.
Programs
-
Maple
seq(convert(2*n-1,binary),n=1..37); # Emeric Deutsch, Dec 15 2004
-
Mathematica
FromDigits/@IntegerDigits[Range[1,71,2],2] (* Harvey P. Dale, Apr 05 2019 *)
-
PARI
a(n) = fromdigits(binary(2*n-1), 10); \\ Michel Marcus, Apr 23 2020
Extensions
More terms from Emeric Deutsch, Dec 15 2004
Comments