login
A039584
Numbers whose base-6 representation has the same number of 1's, 2's and 4's.
0
0, 3, 5, 18, 21, 23, 30, 33, 35, 52, 62, 82, 97, 108, 111, 113, 126, 129, 131, 138, 141, 143, 152, 157, 180, 183, 185, 198, 201, 203, 210, 213, 215, 232, 242, 292, 310, 312, 315, 317, 322, 340, 350, 362, 372, 375, 377, 380, 392, 412, 422, 442, 457, 472, 490
OFFSET
1,2
MATHEMATICA
s124Q[n_]:=Module[{dc6=DigitCount[n, 6]}, dc6[[1]]==dc6[[2]]==dc6[[4]]]; Select[Range[0, 500], s124Q] (* Harvey P. Dale, Oct 20 2015 *)
CROSSREFS
Cf. A007092.
Sequence in context: A007516 A249759 A358342 * A191717 A373405 A136131
KEYWORD
nonn,base,easy
STATUS
approved