OFFSET
1,2
COMMENTS
The second example suggests that a repeated digit must divide the number at least as many times as it occurs, i.e., "distinct [digits]" in the definition would give a different (super)set. What would be the additional terms? - M. F. Hasler, Jan 05 2020
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..120
EXAMPLE
a(17) = 1296 = (1)(2^2)(9)(6^2);
a(32) = 2333772 = (2)(3)(3)(3^3)(7)(7^3)(2).
PROG
(Haskell)
a059405 n = a059405_list !! (n-1)
a059405_list = filter f a238985_list where
f x = all (== 0) (map (mod x) digs) && g x digs where
g z [] = z == 1
g z ds'@(d:ds) = r == 0 && (h z' ds' || g z' ds)
where (z', r) = divMod z d
h z [] = z == 1
h z ds'@(d:ds) = r == 0 && h z' ds' || g z ds
where (z', r) = divMod z d
digs = map (read . return) $ filter (/= '1') $ show x
-- Reinhard Zumkeller, Apr 29 2015
CROSSREFS
KEYWORD
base,nice,nonn
AUTHOR
Erich Friedman, Jan 29 2001
EXTENSIONS
More terms from Erich Friedman, Apr 01 2003
Offset changed by Reinhard Zumkeller, Apr 29 2015
STATUS
approved