login
A039175
Numbers whose base-11 representation has the same number of 2's and 4's.
0
0, 1, 3, 5, 6, 7, 8, 9, 10, 11, 12, 14, 16, 17, 18, 19, 20, 21, 26, 33, 34, 36, 38, 39, 40, 41, 42, 43, 46, 55, 56, 58, 60, 61, 62, 63, 64, 65, 66, 67, 69, 71, 72, 73, 74, 75, 76, 77, 78, 80, 82, 83, 84, 85, 86, 87, 88, 89, 91, 93, 94, 95, 96, 97, 98, 99, 100, 102, 104
OFFSET
1,3
MATHEMATICA
okQ[n_]:=Module[{dc11=DigitCount[n, 11]}, dc11[[2]]==dc11[[4]]]
Select[Range[0, 120], okQ] (* Harvey P. Dale, Feb 19 2011 *)
CROSSREFS
Sequence in context: A299489 A039231 A194387 * A048293 A039129 A194370
KEYWORD
nonn,base,easy
STATUS
approved