login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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