login
Numbers whose base-12 representation has the same nonzero number of 2's and 5's.
1

%I #12 Jun 30 2021 23:58:47

%S 29,62,173,206,293,305,329,341,348,349,351,352,354,355,356,357,358,

%T 359,365,377,389,401,413,425,461,494,605,638,722,734,744,745,747,748,

%U 750,751,752,753,754,755,758,770,794,806,818,830,842,854,893,926,1037

%N Numbers whose base-12 representation has the same nonzero number of 2's and 5's.

%H Harvey P. Dale, <a href="/A039516/b039516.txt">Table of n, a(n) for n = 1..1000</a>

%t Select[Range[1100],DigitCount[#,12,2]==DigitCount[#,12,5]>0&] (* _Harvey P. Dale_, Jan 06 2013 *)

%K nonn,base,easy

%O 1,1

%A _Olivier GĂ©rard_