[go: up one dir, main page]

login
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