OFFSET
1,2
COMMENTS
Inspired by A337741.
Zuckerman numbers are numbers that are divisible by the product of their digits (see link).
The next term is the repunit prime R_317 which is too large to include in the data.
Primes in this sequence are 2, 3, 5, 7 and all the repunit primes (see A004023).
This sequence is infinite if and only if there are infinitely many repunit primes.
LINKS
Giovanni Resta, Zuckerman numbers, Numbers Aplenty
EXAMPLE
6 is a term since all the divisors of 6, i.e., 1, 2, 3 and 6, are Zuckerman numbers.
MATHEMATICA
zuckQ[n_] := (prod = Times @@ IntegerDigits[n]) > 0 && Divisible[n, prod]; Select[Range[24], AllTrue[Divisors[#], zuckQ] &] (* Amiram Eldar, Oct 01 2020 *)
PROG
(PARI) isok(m) = {fordiv(m, d, my(p=vecprod(digits(d))); if (!p || (d % p), return (0))); return (1); } \\ Michel Marcus, Oct 05 2020
KEYWORD
nonn,base
AUTHOR
Bernard Schott, Oct 01 2020
STATUS
approved