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!)
A078547 a(n) = lcm(n, A052429(n)) - n. 2
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 26, 14, 0, 32, 102, 54, 152, 0, 21, 0, 115, 0, 25, 52, 351, 28, 493, 0, 62, 64, 0, 170, 70, 0, 740, 418, 78, 0, 123, 42, 473, 0, 135, 230, 1269, 0, 1715, 0, 204, 208, 742, 486, 0, 784, 1938, 1102, 2596, 0, 305, 124, 63, 128, 325, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,13
COMMENTS
a(n)=0 if n is divisible by each nonzero digit, i.e., if n in A002796.
LINKS
MATHEMATICA
lc[x_] := Apply[LCM, DeleteCases[IntegerDigits[x], 0]] Table[LCM[lc[w], w]-w, {w, 1, 128}]
PROG
(PARI) lcnzd(n) = lcm(select(x->(x!=0), digits(n)));
a(n) = lcm(n, lcnzd(n)) - n; \\ Michel Marcus, Mar 18 2018
CROSSREFS
Sequence in context: A158605 A040653 A033969 * A036168 A005606 A304138
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 10:29 EDT 2024. Contains 371905 sequences. (Running on oeis4.)