A366211 Numbers whose median of the digits is equal to 5.
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
Examples
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.
Crossrefs
Programs
-
Mathematica
Select[Range[0,525], Median[IntegerDigits[#]]==5&]