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

A366214
Numbers whose median of the digits is equal to 8.
8
8, 79, 88, 97, 188, 189, 198, 288, 289, 298, 388, 389, 398, 488, 489, 498, 588, 589, 598, 688, 689, 698, 788, 789, 798, 808, 809, 818, 819, 828, 829, 838, 839, 848, 849, 858, 859, 868, 869, 878, 879, 880, 881, 882, 883, 884, 885, 886, 887, 888, 889, 890, 891, 892
OFFSET
1,1
EXAMPLE
79 is a term since the median of the digits 7 and 9 is (7+9)/2 = 8;
188 is a term since the median of the digits 1, 8, and 8 is 8.
MATHEMATICA
Select[Range[0, 892], Median[IntegerDigits[#]]==8&]
CROSSREFS
Cf. A292730 (median = 0), A292739 (median = 9), A366207 (median = 1), A366208 (median = 2), A366209 (median = 3), A366210 (median = 4), A366211 (median = 5), A366212 (median = 6), A366213 (median = 7).
Sequence in context: A303507 A145508 A266090 * A061425 A160605 A353100
KEYWORD
nonn,base,easy
AUTHOR
Stefano Spezia, Oct 04 2023
STATUS
approved