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

A039405
Numbers whose base-10 representation has the same nonzero number of 1's and 5's.
0
15, 51, 105, 125, 135, 145, 150, 152, 153, 154, 156, 157, 158, 159, 165, 175, 185, 195, 215, 251, 315, 351, 415, 451, 501, 510, 512, 513, 514, 516, 517, 518, 519, 521, 531, 541, 561, 571, 581, 591, 615, 651, 715, 751, 815, 851, 915, 951, 1005, 1025
OFFSET
1,1
MATHEMATICA
Select[Range[1100], DigitCount[#, 10, 1]==DigitCount[#, 10, 5]>0&] (* Harvey P. Dale, Nov 26 2020 *)
CROSSREFS
Sequence in context: A002602 A098831 A265039 * A043228 A044008 A201054
KEYWORD
nonn,base,easy
STATUS
approved