OFFSET
1,4
COMMENTS
The ratio between consecutive terms (a(n)/a(n-1)) appears to approach the plastic constant A060006.
LINKS
Eli Jaffe, Table of n, a(n) for n = 1..1000
PROG
(Python)
from math import gcd
def terms(n):
nums = [1, 1, 1]
for i in range(n-3):
new_num = nums[i] + nums[i+1] + gcd(nums[i+1], nums[i+2])
nums.append(new_num)
return nums
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Eli Jaffe, Feb 11 2024
STATUS
approved