OFFSET
1,2
COMMENTS
List of binary vectors that begin and end with 1.
LINKS
N. J. A. Sloane, Table of n, a(n) for n = 1..1000
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 *)
PROG
(PARI) a(n) = fromdigits(binary(2*n-1), 10); \\ Michel Marcus, Apr 23 2020
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
N. J. A. Sloane, Nov 19 2004
EXTENSIONS
More terms from Emeric Deutsch, Dec 15 2004
STATUS
approved