|
|
A275664
|
|
a(n) is the sum of the LCM and GCD of all previous terms, with a(0) = 2.
|
|
2
|
|
|
|
OFFSET
|
0,1
|
|
COMMENTS
|
Starting from 1, instead of from 2, it is generated A129871 (A variant of Sylvester's sequence A000058).
|
|
LINKS
|
|
|
FORMULA
|
a(0) = 2, a(n+1) = lcm(a(0),a(1),..,a(n)) + gcd(a(0),a(1),..,a(n)).
|
|
MATHEMATICA
|
a = {2}; Do[AppendTo[a, LCM @@ a + GCD @@ a], {i, 1, 10}]; Column[a]
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|