cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A366208 Numbers whose median of the digits is equal to 2.

Original entry on oeis.org

2, 13, 22, 31, 40, 122, 123, 124, 125, 126, 127, 128, 129, 132, 142, 152, 162, 172, 182, 192, 202, 203, 204, 205, 206, 207, 208, 209, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 240, 241, 242, 250, 251
Offset: 1

Views

Author

Stefano Spezia, Oct 04 2023

Keywords

Examples

			13 is a term since the median of the digits 1 and 3 is (1+3)/2 = 2;
122 is a term since the median of the digits 1, 2, and 2 is 2.
		

Crossrefs

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

Programs

  • Mathematica
    Select[Range[0,251], Median[IntegerDigits[#]]==2&]