login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A078249 Smallest multiple of n using all the digits other than used by n, or 0 if no such number exists. 0
203456789, 103456798, 102456789, 102357896, 123467890, 102345798, 102345698, 102345976, 102345678, 0, 203548697, 30457896, 20465978, 20356798, 23467890, 20357984, 20358469, 20345796, 20346587, 0, 30457896, 103465978, 10456789 (list; graph; refs; listen; history; text; internal format)
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.

LINKS

Table of n, a(n) for n=1..23.

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

Sequence in context: A317287 A132205 A015427 * A243363 A273094 A226079

Adjacent sequences:  A078246 A078247 A078248 * A078250 A078251 A078252

KEYWORD

base,nonn

AUTHOR

Amarnath Murthy, Nov 23 2002

EXTENSIONS

More terms from Hans Havermann, Jan 19 2004

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 16 16:43 EDT 2022. Contains 353707 sequences. (Running on oeis4.)