OFFSET
1,2
COMMENTS
Conjecture: this sequence is not periodic. (Note that the analogous sequences with a(2) = 1, 2, 3, or 4 are periodic.)
LINKS
Mathematics Stack Exchange user Augusto Santi, Investigating the recurrence relation.
PROG
(Python)
from itertools import islice
from math import gcd
def A349576_gen(): # generator of terms
blist = [1, 5]
yield from blist
while True:
blist = [blist[1], sum(blist)//gcd(*blist) + 1]
yield blist[-1]
CROSSREFS
KEYWORD
nonn
AUTHOR
Peter Kagey, Dec 30 2021
STATUS
approved