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

%I #13 Oct 15 2022 17:24:08

%S 0,1,3,4,5,6,8,9,10,12,13,14,15,17,25,27,28,30,31,32,33,35,36,37,39,

%T 40,41,42,44,45,46,48,49,50,51,53,54,55,57,58,59,60,62,65,72,73,75,76,

%U 77,78,80,81,82,84,85,86,87,89,90,91,93,94,95,96,98,106,108,109,111

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

%t Select[Range[0,200],DigitCount[#,9,2]==DigitCount[#,9,7]&] (* _Harvey P. Dale_, Oct 15 2022 *)

%Y Cf. A007095.

%K nonn,base,easy

%O 1,3

%A _Olivier GĂ©rard_