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!)
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

Adjacent sequences:  A058342 A058343 A058344 * A058346 A058347 A058348

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 8 19:29 EDT 2020. Contains 336298 sequences. (Running on oeis4.)