OFFSET
1,2
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..383
EXAMPLE
a(3)=61 because the first 3 odd numbers in binary are 1 11 101, and the concatenation 111101 in base 10 = 61. a(4)=495 because the first 4 odd numbers in binary are 1 11 101 111, and the concatenation 111101111 in base 10 = 495.
MATHEMATICA
Table[FromDigits[Flatten[IntegerDigits[Range[1, 2n+1, 2], 2]], 2], {n, 0, 20}] (* Harvey P. Dale, May 31 2019 *)
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Gil Broussard, Sep 01 2009
STATUS
approved