The OEIS is supported by the many generous donors to the OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A127077 a(1)=1. a(n) = a(n-1) + (product of the earlier terms {among terms a(1) through a(n-1)} which are coprime to n). 1
 1, 2, 4, 5, 13, 78, 40638, 40703, 21206263, 11221082003820, 15964509207021745126354079410538220, 15964509207021745126410184714526005 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 LINKS Table of n, a(n) for n=1..12. EXAMPLE The terms of the sequence, among terms a(1) through a(5), which are coprime to 6 are a(1)=1, a(4)=5 and a(5) = 13. So a(6) = a(5) + 1*5*13 = 78. MATHEMATICA f[l_List] := Append[l, l[[ -1]] + Times @@ Select[l, GCD[ #, Length[l] + 1] == 1 &]]; Nest[f, {1}, 15] (* Ray Chandler, Jan 06 2007 *) CROSSREFS Cf. A127078. Sequence in context: A273097 A232207 A136563 * A104549 A174513 A000063 Adjacent sequences: A127074 A127075 A127076 * A127078 A127079 A127080 KEYWORD nonn AUTHOR Leroy Quet, Jan 04 2007 EXTENSIONS Extended by Ray Chandler, Jan 06 2007 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.

Last modified June 2 10:58 EDT 2023. Contains 363097 sequences. (Running on oeis4.)