OFFSET
1,1
COMMENTS
a(n) = 0 if n==0 (mod 10), n ends in 5 and uses 0, n uses all even digits, or n uses all 9 nonzero digits.
MATHEMATICA
sp[n_]:=Module[{digs=Complement[Range[0, 9], IntegerDigits[n]]}, Min[ Select[ FromDigits/@ Permutations[digs], IntegerLength[#]==(10-Length[ Union[ IntegerDigits[n]]])&&Divisible[#, n]&]]]; Array[sp, 25]/.\[Infinity]->0 (* Harvey P. Dale, Aug 17 2021 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Amarnath Murthy, Nov 23 2002
EXTENSIONS
More terms from Hans Havermann, Jan 19 2004
STATUS
approved