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!)
A058345 a(1) = 1; a(n+1) = lcm(Sum_{k=1..n} a(k), Product_{k=1..n} a(k)). 2
1, 1, 2, 4, 8, 64, 20480, 21558722560, 1896327099254067272089600 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..13
EXAMPLE
a(6) = lcm(1 + 1 + 2 + 4 + 8, 1*1*2*4*8) = lcm(16, 64) = 64.
MATHEMATICA
Nest[Append[#, LCM[Total@ #, Times @@ #]] &, {1}, 13] (* Michael De Vlieger, Dec 11 2017 *)
PROG
(Haskell)
a058345 n = a058345_list !! (n-1)
a058345_list = 1 : f 1 1 where
f u v = w : f (u * w) (v + w) where w = lcm u v
-- Reinhard Zumkeller, Mar 20 2014
CROSSREFS
Cf. A057194.
Sequence in context: A320898 A068994 A167182 * A093843 A270372 A018507
KEYWORD
nonn
AUTHOR
Leroy Quet, Dec 14 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 15 22:47 EDT 2024. Contains 372549 sequences. (Running on oeis4.)