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

A378835
Numbers with the median of the digits equal to the digital root.
0
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 99, 109, 118, 128, 138, 148, 158, 168, 178, 181, 182, 183, 184, 185, 186, 187, 188, 190, 209, 218, 227, 237, 247, 257, 267, 272, 273, 274, 275, 276, 277, 281, 290, 309, 318, 327, 336, 346, 356, 363, 364, 365, 366, 372, 381, 390, 409, 418, 427, 436, 445
OFFSET
1,3
LINKS
EXAMPLE
10 is not in the list because the median of its digits is not integer.
11 is not in the list because the median of its digits is 1 which is not equal to 2, the digital root of 11.
109 is in the list because the median of its digits is 1 which is equal to the digital root of 109.
MATHEMATICA
A010888[n_]:=If[n==0, 0, n - 9*Floor[(n-1)/9]]; Select[Range[0, 450], Median[IntegerDigits[#]]==A010888[#] &]
CROSSREFS
KEYWORD
nonn,base,easy,new
AUTHOR
Stefano Spezia, Dec 09 2024
STATUS
approved