login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Numbers whose median of the digits is equal to 4.
8

%I #12 Oct 06 2023 11:01:56

%S 4,17,26,35,44,53,62,71,80,144,145,146,147,148,149,154,164,174,184,

%T 194,244,245,246,247,248,249,254,264,274,284,294,344,345,346,347,348,

%U 349,354,364,374,384,394,404,405,406,407,408,409,414,415,416,417,418,419,424,425

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

%e 17 is a term since the median of the digits 1 and 7 is (1+7)/2 = 4;

%e 144 is a term since the median of the digits 1, 4, and 4 is 4.

%t Select[Range[0,425], Median[IntegerDigits[#]]==4&]

%Y Cf. A292730 (median = 0), A292739 (median = 9), A366207 (median = 1), A366208 (median = 2), A366209 (median = 3), 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