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

A023732
Numbers with exactly 3 2's in base 5 expansion.
2
62, 187, 262, 287, 302, 307, 310, 311, 313, 314, 317, 322, 337, 362, 437, 562, 687, 812, 887, 912, 927, 932, 935, 936, 938, 939, 942, 947, 962, 987, 1062, 1187, 1262, 1287, 1302, 1307, 1310, 1311, 1313, 1314, 1317, 1322
OFFSET
1,1
LINKS
MATHEMATICA
Select[ Range[ 1325 ], (Count[ IntegerDigits[ #, 5 ], 2 ]==3)& ]
FromDigits[#, 5]&/@Select[Tuples[Range[0, 4], 5], Count[#, 2]==3&] (* Harvey P. Dale, Jan 17 2023 *)
CROSSREFS
Sequence in context: A044394 A044775 A043359 * A045289 A045274 A045175
KEYWORD
nonn,base,easy
STATUS
approved