login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A349982
a(n) = 199 + (a(n-1)+a(n-2))/gcd(a(n-1),a(n-2)), a(0)=1 and a(1)=2.
1
1, 2, 202, 301, 702, 1202, 1151, 2552, 3902, 3426, 3863, 7488, 11550, 3372, 2686, 3228, 3156, 731, 4086, 5016, 1716, 250, 1182, 915, 898, 2012, 1654, 2032, 2042, 2236, 2338, 2486, 2611, 5296, 8106, 6900, 2700, 231, 1176, 266, 302, 483, 984, 688, 408, 336, 230
OFFSET
0,2
COMMENTS
The sequence repeats periodically with a period of 2920. The first repeating term is a(2785) = 288 = a(5705).
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
Sequence in context: A356024 A180301 A203773 * A209185 A216608 A375842
KEYWORD
nonn,easy
AUTHOR
Augusto Santi, Jan 08 2022
STATUS
approved