OFFSET
1,1
EXAMPLE
20 has two even digits ("2" and "0") and zero odd digit; 112 has one even digit ("2") and two odd digits ("1" and "1"), etc.
MATHEMATICA
okQ[n_]:=Module[{idn=IntegerDigits[n]}, First[idn]== Count[idn, _?EvenQ]&&Last[idn]==Count[idn, _?OddQ]]; Select[Range[2000], okQ] (* Harvey P. Dale, Mar 13 2011 *)
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Eric Angelini, Jun 12 2005
STATUS
approved