login
A039120
Numbers whose base-10 representation has the same number of 1's and 2's.
0
0, 3, 4, 5, 6, 7, 8, 9, 12, 21, 30, 33, 34, 35, 36, 37, 38, 39, 40, 43, 44, 45, 46, 47, 48, 49, 50, 53, 54, 55, 56, 57, 58, 59, 60, 63, 64, 65, 66, 67, 68, 69, 70, 73, 74, 75, 76, 77, 78, 79, 80, 83, 84, 85, 86, 87, 88, 89, 90, 93, 94, 95, 96, 97, 98, 99, 102, 120, 123
OFFSET
1,2
MATHEMATICA
Select[Range[0, 150], DigitCount[#, 10, 1]==DigitCount[#, 10, 2]&] (* Harvey P. Dale, Apr 14 2015 *)
CROSSREFS
Sequence in context: A348524 A096829 A265126 * A075493 A096828 A097389
KEYWORD
nonn,base,easy
STATUS
approved