|
|
A071204
|
|
Numbers which are multiples of their largest digit (decimal notation).
|
|
4
|
|
|
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
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
EXAMPLE
|
15 is a term since 15/5 = 3.
16 is not a term because 16/6 = 2.66666666...
|
|
MATHEMATICA
|
Select[Range[200], Divisible[#, Sort[IntegerDigits[#]][[-1]]] &] (* Alonso del Arte, Sep 09 2017 *)
|
|
PROG
|
(PARI) isok(n) = (n % vecmax(digits(n))) == 0; \\ Michel Marcus, Sep 11 2017
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|