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.

A071204 Numbers which are multiples of their largest digit (decimal notation).

Original entry on oeis.org

1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 15, 20, 22, 24, 25, 30, 33, 35, 36, 40, 44, 45, 48, 50, 55, 60, 66, 70, 77, 80, 88, 90, 99, 100, 101, 102, 104, 105, 110, 111, 112, 115, 120, 122, 123, 124, 125, 126, 128, 132, 135, 140, 144, 145
Offset: 1

Views

Author

Reinhard Zumkeller, May 16 2002

Keywords

Examples

			15 is a term since 15/5 = 3.
16 is not a term because 16/6 = 2.66666666...
		

Crossrefs

Cf. A071203, A071205, A071206, a(n) mod A054055(n) = 0.

Programs

  • Mathematica
    Select[Range[200], Divisible[#, Sort[IntegerDigits[#]][[-1]]] &] (* Alonso del Arte, Sep 09 2017 *)
  • PARI
    isok(n) = (n % vecmax(digits(n))) == 0; \\ Michel Marcus, Sep 11 2017