login
A366211
Numbers whose median of the digits is equal to 5.
7
5, 19, 28, 37, 46, 55, 64, 73, 82, 91, 155, 156, 157, 158, 159, 165, 175, 185, 195, 255, 256, 257, 258, 259, 265, 275, 285, 295, 355, 356, 357, 358, 359, 365, 375, 385, 395, 455, 456, 457, 458, 459, 465, 475, 485, 495, 505, 506, 507, 508, 509, 515, 516, 517, 518, 519, 525
OFFSET
1,1
EXAMPLE
19 is a term since the median of the digits 1 and 9 is (1+9)/2 = 5;
155 is a term since the median of the digits 1, 5, and 5 is 5.
MATHEMATICA
Select[Range[0, 525], Median[IntegerDigits[#]]==5&]
CROSSREFS
Cf. A292730 (median = 0), A292739 (median = 9), A366207 (median = 1), A366208 (median = 2), A366209 (median = 3), A366210 (median = 4), A366212 (median = 6), A366213 (median = 7), A366214 (median = 8).
Sequence in context: A218885 A198791 A332155 * A061388 A299539 A270865
KEYWORD
nonn,base,easy
AUTHOR
Stefano Spezia, Oct 04 2023
STATUS
approved