OFFSET
1,3
MATHEMATICA
f[n_] := n - Count[IntegerDigits[n, 2], 0]; Array[f, 73]
Table[n-DigitCount[n, 2, 0], {n, 80}] (* Harvey P. Dale, Dec 24 2015 *)
CROSSREFS
KEYWORD
easy,nonn,base
AUTHOR
Robert G. Wilson v, Apr 19 2006
STATUS
approved