login
Numbers whose base-6 representation has the same number of 1's, 4's and 5's.
0

%I #12 Jul 01 2021 03:40:25

%S 0,2,3,12,14,15,18,20,21,65,70,72,74,75,84,86,87,90,92,93,108,110,111,

%T 120,122,123,126,128,129,155,175,190,205,245,250,317,322,353,358,365,

%U 377,383,390,392,393,400,412,418,420,422,423,432,434,435,444,446,447

%N Numbers whose base-6 representation has the same number of 1's, 4's and 5's.

%t s1456Q[n_]:=Module[{dc=DigitCount[n,6]},dc[[1]]==dc[[4]]==dc[[5]]]; Select[ Range[0,500],s1456Q] (* _Harvey P. Dale_, Mar 17 2015 *)

%Y Cf. A007092.

%K nonn,base,easy

%O 1,2

%A _Olivier GĂ©rard_