login
A039159
Numbers whose base-11 representation has the same number of 0's and 4's.
0
1, 2, 3, 5, 6, 7, 8, 9, 10, 12, 13, 14, 16, 17, 18, 19, 20, 21, 23, 24, 25, 27, 28, 29, 30, 31, 32, 34, 35, 36, 38, 39, 40, 41, 42, 43, 44, 56, 57, 58, 60, 61, 62, 63, 64, 65, 67, 68, 69, 71, 72, 73, 74, 75, 76, 78, 79, 80, 82, 83, 84, 85, 86, 87, 89, 90, 91, 93, 94, 95
OFFSET
1,2
MATHEMATICA
ok11Q[n_]:=Module[{dc11=DigitCount[n, 11]}, Last[dc11]==dc11[[4]]]
Select[Range[100], ok11Q] (* Harvey P. Dale, Feb 22 2011 *)
CROSSREFS
Sequence in context: A353084 A039253 A193533 * A003251 A288315 A285980
KEYWORD
nonn,base,easy
STATUS
approved