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”).
%I #17 Dec 03 2024 11:45:08
%S 0,1,2,3,4,5,6,7,8,9,11,22,33,44,55,66,77,88,99,100,101,102,103,104,
%T 105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,
%U 122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140
%N Numbers with the median of the digits equal to one of the digits.
%H Stefano Spezia, <a href="/A378560/b378560.txt">Table of n, a(n) for n = 1..10000</a>
%e 10 is not in the list because the median of its digits is not integer.
%e 13 is not in the list because the median of its digits is 2 which is not a digit of 13.
%e 113 is in the list because the median of its digits is 1 which is a digit of 113.
%t Select[Range[0,140],MemberQ[digits=IntegerDigits[#],Median[digits]] &]
%Y Cf. A001633 (subsequence), A175688, A378564.
%Y Cf. A292730, A292739, A366207, A366208, A366209, A366210, A366211, A366212, A366213, A366214.
%K nonn,base,easy,new
%O 1,3
%A _Stefano Spezia_, Nov 30 2024