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

A366212
Numbers whose median of the digits is equal to 6.
8
6, 39, 48, 57, 66, 75, 84, 93, 166, 167, 168, 169, 176, 186, 196, 266, 267, 268, 269, 276, 286, 296, 366, 367, 368, 369, 376, 386, 396, 466, 467, 468, 469, 476, 486, 496, 566, 567, 568, 569, 576, 586, 596, 606, 607, 608, 609, 616, 617, 618, 619, 626, 627, 628, 629
OFFSET
1,1
EXAMPLE
39 is a term since the median of the digits 3 and 9 is (3+9)/2 = 6;
166 is a term since the median of the digits 1, 6, and 6 is 6.
MATHEMATICA
Select[Range[0, 630], Median[IntegerDigits[#]]==6&]
CROSSREFS
Cf. A292730 (median = 0), A292739 (median = 9), A366207 (median = 1), A366208 (median = 2), A366209 (median = 3), A366210 (median = 4), A366211 (median = 5), A366213 (median = 7), A366214 (median = 8).
Sequence in context: A375346 A096674 A241258 * A061423 A080298 A253803
KEYWORD
nonn,base,easy
AUTHOR
Stefano Spezia, Oct 04 2023
STATUS
approved