login
This site is supported by donations 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

LINKS

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

EXAMPLE

a(n)=0 if n is divisible by each nonzero digit, i.e., if n in A002796.

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

Cf. A052429, A078546, A078548, A002796.

Sequence in context: A158605 A040653 A033969 * A036168 A005606 A304138

Adjacent sequences:  A078544 A078545 A078546 * A078548 A078549 A078550

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 August 22 07:17 EDT 2019. Contains 326172 sequences. (Running on oeis4.)