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

%I #12 Jun 26 2021 01:52:47

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

%T 31,32,33,34,35,36,38,40,41,42,43,44,45,46,48,50,51,52,53,54,55,56,58,

%U 60,61,62,63,64,65,66,68,79,80,81,82,83,84,85,86,88,97,100,101,102

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

%t Select[Range[0,150],DigitCount[#,10,7]==DigitCount[#,10,9]&] (* _Harvey P. Dale_, Jun 24 2021 *)

%K nonn,base,easy

%O 1,3

%A _Olivier GĂ©rard_