The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A052429 Least common multiple of nonzero digits of n. 5
1, 2, 3, 4, 5, 6, 7, 8, 9, 1, 1, 2, 3, 4, 5, 6, 7, 8, 9, 2, 2, 2, 6, 4, 10, 6, 14, 8, 18, 3, 3, 6, 3, 12, 15, 6, 21, 24, 9, 4, 4, 4, 12, 4, 20, 12, 28, 8, 36, 5, 5, 10, 15, 20, 5, 30, 35, 40, 45, 6, 6, 6, 6, 12, 30, 6, 42, 24, 18, 7, 7, 14, 21, 28, 35, 42, 7, 56, 63, 8, 8, 8, 24, 8, 40, 24, 56 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
a(46)=12 because least common multiple of 4 and 6 is 12.
MAPLE
f:= proc(n)
ilcm(op(subs(0=NULL, convert(n, base, 10))))
end proc:
map(f, [$1..100]); # Robert Israel, Mar 11 2018
MATHEMATICA
lcmnzd[n_]:=Module[{d=Select[IntegerDigits[n], #>0&]}, LCM@@d]; lcmnzd/@ Range[90] (* Harvey P. Dale, Jul 13 2016 *)
CROSSREFS
Cf. A007954.
Sequence in context: A214950 A054055 A067456 * A051802 A051801 A071205
KEYWORD
base,easy,nonn
AUTHOR
Henry Bottomley, Mar 17 2000
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 14 12:38 EDT 2024. Contains 372533 sequences. (Running on oeis4.)