OFFSET
1,6
MATHEMATICA
f[n_] := Count[Flatten@ Table[ IntegerDigits[n, b], {b, 2, n + 1}], 2]; Array[f, 70] (* Robert G. Wilson v, Nov 14 2012 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
STATUS
approved