OFFSET
0,2
LINKS
N. J. A. Sloane, Table of n, a(n) for n = 0..20000
FORMULA
For n >= 1, a(n) = 2^(1+A023416(n)).
EXAMPLE
12 = 1100 in binary, which contains two 0's, so a(12) = 2^3 = 8.
MATHEMATICA
Join[{1}, Table[2^(1+DigitCount[n, 2, 0]), {n, 80}]] (* Harvey P. Dale, Oct 08 2023 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Jan 17 2016
STATUS
approved