A355914 a(n) = gcd(b(n-1),b(n)), where b(n) = A351871(n).
1, 2, 1, 5, 2, 1, 1, 4, 1, 1, 2, 1, 1, 2, 1, 1, 4, 1, 1, 8, 2, 3, 3, 6, 1, 1, 6, 1, 1, 6, 10, 2, 1, 1, 2, 1, 1, 2, 1, 1, 4, 2, 1, 1, 2, 30, 5, 5, 8, 1, 1, 4, 43, 1, 2, 1, 3, 4, 1, 3, 12, 1, 1, 2, 1, 1, 2, 1, 1, 2, 3, 1, 2, 1, 1, 2, 25, 1, 4, 1, 1, 6, 1, 1, 6
Offset: 2
Keywords
Links
- Michael S. Branicky, Table of n, a(n) for n = 2..10001
Programs
-
Python
from math import gcd from itertools import islice def agen(): a = [1, 2] while True: g = gcd(*a); yield g; a = [a[-1], g + sum(a)//g] print(list(islice(agen(), 85))) # Michael S. Branicky, Sep 19 2022
Extensions
a(66) and beyond from Michael S. Branicky, Sep 19 2022
Comments