[go: up one dir, main page]

login
A039132
Numbers whose base-10 representation has the same number of 2's and 7's.
0
0, 1, 3, 4, 5, 6, 8, 9, 10, 11, 13, 14, 15, 16, 18, 19, 27, 30, 31, 33, 34, 35, 36, 38, 39, 40, 41, 43, 44, 45, 46, 48, 49, 50, 51, 53, 54, 55, 56, 58, 59, 60, 61, 63, 64, 65, 66, 68, 69, 72, 80, 81, 83, 84, 85, 86, 88, 89, 90, 91, 93, 94, 95, 96, 98, 99, 100, 101, 103
OFFSET
1,3
MATHEMATICA
dg27Q[n_]:=Module[{dc=DigitCount[n]}, dc[[2]]==dc[[7]]]; Select[Range[ 0, 110], dg27Q] (* Harvey P. Dale, Nov 19 2011 *)
CROSSREFS
Sequence in context: A099352 A047207 A266728 * A187970 A122488 A241403
KEYWORD
nonn,base,easy
STATUS
approved