%I #15 Jun 25 2021 01:42:27
%S 0,3,4,5,6,7,8,11,19,27,30,31,32,33,34,35,36,39,40,41,42,43,44,45,48,
%T 49,50,51,52,53,54,57,58,59,60,61,62,63,66,67,68,69,70,71,72,75,76,77,
%U 78,79,80,83,99,102,103,104,105,106,107,110,119,128,137,146,155,163
%N Numbers whose base-9 representation has the same number of 1's and 2's.
%t Select[Range[0,170],DigitCount[#,9,1]==DigitCount[#,9,2]&] (* _Harvey P. Dale_, Mar 23 2011 *)
%Y Cf. A007095.
%K nonn,base,easy
%O 1,2
%A _Olivier GĂ©rard_
|