OFFSET
0,2
COMMENTS
MATHEMATICA
a[n_] := If[OddQ @ DigitCount[n, 2, 1], n + 1, 0]; Array[a, 100, 0] (* Amiram Eldar, Aug 02 2020 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Jan 06 2005
STATUS
approved