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.

A378560 Numbers with the median of the digits equal to one of the digits.

Original entry on oeis.org

0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 22, 33, 44, 55, 66, 77, 88, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140
Offset: 1

Views

Author

Stefano Spezia, Nov 30 2024

Keywords

Examples

			10 is not in the list because the median of its digits is not integer.
13 is not in the list because the median of its digits is 2 which is not a digit of 13.
113 is in the list because the median of its digits is 1 which is a digit of 113.
		

Crossrefs

Programs

  • Mathematica
    Select[Range[0,140],MemberQ[digits=IntegerDigits[#],Median[digits]] &]