OFFSET
1,2
COMMENTS
The sequence seems to stop at 90.
EXAMPLE
[0,1,2,3,4,5,6,7,8,9,10] uses 6 even digits and 6 odd digits.
MATHEMATICA
f[n_] := Block[{id = Mod[ Flatten[ Table[ IntegerDigits[i], {i, 0, n}]], 2]}, Length[id] - 2Plus @@ id]; Select[ Range[ 100], f[ # ] == 0 &] (* Robert G. Wilson v, Nov 03 2004 *)
sneoQ[n_]:=Module[{d=Flatten[IntegerDigits/@Range[0, n]]}, 2*Count[ d, _?OddQ] == Length[d]]; Select[Range[100], sneoQ] (* Harvey P. Dale, Jul 31 2017 *)
CROSSREFS
KEYWORD
base,easy,nonn,fini,full
AUTHOR
Eric Angelini, Oct 25 2004
STATUS
approved