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!)
A069716 Smallest number such that the LCM of the digits equals n, or 0 if no such number exists. 1
1, 2, 3, 4, 5, 6, 7, 8, 9, 25, 0, 34, 0, 27, 35, 0, 0, 29, 0, 45, 37, 0, 0, 38, 0, 0, 0, 47, 0, 56, 0, 0, 0, 0, 57, 49, 0, 0, 0, 58, 0, 67, 0, 0, 59, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 78, 0, 0, 0, 345, 0, 0, 79, 0, 0, 0, 0, 0, 0, 257, 0, 89, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 347, 0, 0, 0, 0, 0, 259, 0, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
If n is a prime with more than one digit, a(n) = 0. - Alonso del Arte, Dec 20 2015
LINKS
EXAMPLE
a(20) = 45 because lcm(4, 5) = 20. If one solution exists, then an infinite number of solutions exist. For n = 20, e.g., 455, 445555555, 545544 etc. are also solutions.
MATHEMATICA
digLCMSeek[x_] := Apply[LCM, IntegerDigits[x]]; A069716 = Table[0, {256}]; Do[s = digLCMSeek[n]; If[s < 257 && A069716[[s]] == 0, A069716[[s]] = n], {n, 10000}]; A069716
CROSSREFS
Sequence in context: A349279 A347189 A068189 * A095289 A174141 A343403
KEYWORD
easy,nonn,base
AUTHOR
Labos Elemer, Apr 02 2002
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 April 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)