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

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

%I #12 Oct 06 2023 11:02:10

%S 6,39,48,57,66,75,84,93,166,167,168,169,176,186,196,266,267,268,269,

%T 276,286,296,366,367,368,369,376,386,396,466,467,468,469,476,486,496,

%U 566,567,568,569,576,586,596,606,607,608,609,616,617,618,619,626,627,628,629

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

%e 39 is a term since the median of the digits 3 and 9 is (3+9)/2 = 6;

%e 166 is a term since the median of the digits 1, 6, and 6 is 6.

%t Select[Range[0,630], Median[IntegerDigits[#]]==6&]

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

%K nonn,base,easy

%O 1,1

%A _Stefano Spezia_, Oct 04 2023