OFFSET
0,2
COMMENTS
The sequence repeats periodically with a period of 2920. The first repeating term is a(2785) = 288 = a(5705).
LINKS
A. Santi on math.stackexchange.com, Investigating the recurrence relation ...
EXAMPLE
a(2) = 199+(1+2)/gcd(1,2) = 199+3 = 202,
a(3) = 199+(2+202)/gcd(2,202) = 199+102 = 301.
MATHEMATICA
Nest[Append[#, 199 + Total[#[[-2 ;; -1]]]/(GCD @@ #[[-2 ;; -1]])] &, {1, 2}, 45] (* Michael De Vlieger, Jan 08 2022 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Augusto Santi, Jan 08 2022
STATUS
approved