|
|
A349576
|
|
Recurrence a(1) = 1, a(2) = 5; a(n) = (a(n-1) + a(n-2))/GCD(a(n-1),a(n-2)) + 1.
|
|
2
|
|
|
1, 5, 7, 13, 21, 35, 9, 45, 7, 53, 61, 115, 177, 293, 471, 765, 413, 1179, 1593, 309, 635, 945, 317, 1263, 1581, 949, 2531, 3481, 6013, 9495, 15509, 25005, 40515, 4369, 44885, 49255, 18829, 68085, 86915, 31001, 117917, 148919, 266837, 415757, 682595, 1098353
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
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
|
|
|
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
|
|
|
STATUS
|
approved
|
|
|
|