login
Numbers whose median of the digits is equal to 1.
8

%I #15 Oct 06 2023 11:01:08

%S 1,11,20,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,

%T 116,117,118,119,120,121,130,131,140,141,150,151,160,161,170,171,180,

%U 181,190,191,201,210,211,301,310,311,401,410,411,501,510,511,601,610,611,701

%N Numbers whose median of the digits is equal to 1.

%e 20 is a term since the median of the digits 0 and 2 is (0+2)/2 = 1;

%e 102 is a term since the median of the digits 0, 1, and 2 is 1.

%t Select[Range[0,701], Median[IntegerDigits[#]]==1&]

%Y Cf. A292730 (median = 0), A292739 (median = 9), A366208 (median = 2), A366209 (median = 3), A366210 (median = 4), A366211 (median = 5), A366212 (median = 6), A366213 (median = 7), A366214 (median = 8).

%K nonn,base,easy

%O 1,2

%A _Stefano Spezia_, Oct 04 2023