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

%I #15 Mar 28 2024 14:38:46

%S 72,150,216,294,360,438,504,582,648,726,792,865,866,867,868,869,871,

%T 872,873,874,875,876,888,900,912,924,948,960,972,984,996,1014,1080,

%U 1158,1224,1302,1368,1446,1512,1590,1656,1746,1758,1770,1782,1794

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

%H Harvey P. Dale, <a href="/A039498/b039498.txt">Table of n, a(n) for n = 1..5000</a>

%t Select[Range[2000],DigitCount[#,12,0]==DigitCount[#,12,6]>0&] (* _Harvey P. Dale_, Mar 28 2024 *)

%K nonn,base,easy

%O 1,1

%A _Olivier GĂ©rard_