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”).

A039122
Numbers whose base-10 representation has the same number of 1's and 4's.
0
0, 2, 3, 5, 6, 7, 8, 9, 14, 20, 22, 23, 25, 26, 27, 28, 29, 30, 32, 33, 35, 36, 37, 38, 39, 41, 50, 52, 53, 55, 56, 57, 58, 59, 60, 62, 63, 65, 66, 67, 68, 69, 70, 72, 73, 75, 76, 77, 78, 79, 80, 82, 83, 85, 86, 87, 88, 89, 90, 92, 93, 95, 96, 97, 98, 99, 104, 124, 134
OFFSET
1,2
MATHEMATICA
Select[Range[0, 150], DigitCount[#, 10, 1]==DigitCount[#, 10, 4]&] (* Harvey P. Dale, Nov 14 2024 *)
CROSSREFS
Sequence in context: A117578 A244217 A351224 * A355547 A031975 A028729
KEYWORD
nonn,base,easy
STATUS
approved