login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A078546 LCM of n and its nonzero decimal digits. 2
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 39, 28, 15, 48, 119, 72, 171, 20, 42, 22, 138, 24, 50, 78, 378, 56, 522, 30, 93, 96, 33, 204, 105, 36, 777, 456, 117, 40, 164, 84, 516, 44, 180, 276, 1316, 48, 1764, 50, 255, 260, 795, 540, 55, 840, 1995, 1160, 2655, 60, 366, 186 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

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

FORMULA

a(n) = lcm(n, A052429(n)).

EXAMPLE

n=13: lcm(13,1,3) = 39 = a(13); a(x)=x if x is divisible by each nonzero digits, i.e., if x in A002796.

MATHEMATICA

lc[x_] := Apply[LCM, DeleteCases[IntegerDigits[x], 0]] Table[LCM[lc[w], w], {w, 1, 128}] NOT

PROG

(PARI) lcnzd(n) = lcm(select(x->(x!=0), digits(n)));

a(n) = lcm(n, lcnzd(n)); \\ Michel Marcus, Mar 18 2018

CROSSREFS

Cf. A052429, A078547, A078548, A002796.

Sequence in context: A151766 A004852 A342046 * A262360 A004863 A055648

Adjacent sequences:  A078543 A078544 A078545 * A078547 A078548 A078549

KEYWORD

nonn,base

AUTHOR

Labos Elemer, Dec 05 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 23 20:42 EDT 2021. Contains 347617 sequences. (Running on oeis4.)