Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.
%I #12 Oct 06 2023 11:01:31
%S 2,13,22,31,40,122,123,124,125,126,127,128,129,132,142,152,162,172,
%T 182,192,202,203,204,205,206,207,208,209,212,213,214,215,216,217,218,
%U 219,220,221,222,223,224,225,226,227,228,229,230,231,232,240,241,242,250,251
%N Numbers whose median of the digits is equal to 2.
%e 13 is a term since the median of the digits 1 and 3 is (1+3)/2 = 2;
%e 122 is a term since the median of the digits 1, 2, and 2 is 2.
%t Select[Range[0,251], Median[IntegerDigits[#]]==2&]
%Y Cf. A292730 (median = 0), A292739 (median = 9), A366207 (median = 1), A366209 (median = 3), A366210 (median = 4), A366211 (median = 5), A366212 (median = 6), A366213 (median = 7), A366214 (median = 8).
%K nonn,base,easy
%O 1,1
%A _Stefano Spezia_, Oct 04 2023