login
A378560
Numbers with the median of the digits equal to one of the digits.
7
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 22, 33, 44, 55, 66, 77, 88, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140
OFFSET
1,3
LINKS
EXAMPLE
10 is not in the list because the median of its digits is not integer.
13 is not in the list because the median of its digits is 2 which is not a digit of 13.
113 is in the list because the median of its digits is 1 which is a digit of 113.
MATHEMATICA
Select[Range[0, 140], MemberQ[digits=IntegerDigits[#], Median[digits]] &]
KEYWORD
nonn,base,easy
AUTHOR
Stefano Spezia, Nov 30 2024
STATUS
approved