login
Numbers whose base-10 representation has the same number of 8's and 9's.
1

%I #15 Jun 26 2021 01:52:51

%S 0,1,2,3,4,5,6,7,10,11,12,13,14,15,16,17,20,21,22,23,24,25,26,27,30,

%T 31,32,33,34,35,36,37,40,41,42,43,44,45,46,47,50,51,52,53,54,55,56,57,

%U 60,61,62,63,64,65,66,67,70,71,72,73,74,75,76,77,89,98,100,101,102

%N Numbers whose base-10 representation has the same number of 8's and 9's.

%t Select[Range[0,110], DigitCount[#,10,8] == DigitCount[#,10,9]&] (* _Harvey P. Dale_, Jan 13 2013 *)

%K nonn,base,easy

%O 1,3

%A _Olivier GĂ©rard_