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

A039403
Numbers whose base-10 representation has the same nonzero number of 1's and 3's.
0
13, 31, 103, 123, 130, 132, 134, 135, 136, 137, 138, 139, 143, 153, 163, 173, 183, 193, 213, 231, 301, 310, 312, 314, 315, 316, 317, 318, 319, 321, 341, 351, 361, 371, 381, 391, 413, 431, 513, 531, 613, 631, 713, 731, 813, 831, 913, 931, 1003, 1023
OFFSET
1,1
MATHEMATICA
Select[Range[1100], DigitCount[#, 10, 1]==DigitCount[#, 10, 3]>0&] (* Harvey P. Dale, May 09 2019 *)
CROSSREFS
Sequence in context: A350095 A160772 A271575 * A062339 A368051 A043226
KEYWORD
nonn,base,easy
STATUS
approved