A275698 a(0) = 2, after that a(n) is 3 plus the least common multiple of previous terms.
2, 5, 13, 133, 17293, 298995973, 89398590973228813, 7992108067998667938125889533702533, 63873791370569400659097694858350356285036046451665934814399129508493
Offset: 0
Keywords
Links
- S. W. Golomb, On certain nonlinear recurring sequences, Amer. Math. Monthly 70 (1963), 403-405.
- S. Mustonen, On integer sequences with mutual k-residues
- Seppo Mustonen, On integer sequences with mutual k-residues [Local copy]
Formula
a(n) = 3 + lcm(a(0), a(1), ..., a(n - 1)), a(0) = 2.
a(n) = 3 + a(n-1)*(a(n-1)-3), for n > 1. - Christian Krause, Oct 17 2023. Proof: Follows from associativity of lcm(...) and the fact that gcd(m,m+3)=1:
a(n)-3 = lcm(a(0),a(1),...,a(n-2),a(n-1))
= lcm(lcm(a(0),a(1),...,a(n-2)),a(n-1))
= lcm(a(n-1)-3,a(n-1))
= (a(n-1)-3)*a(n-1).
Comments