MathDB
Sequence with gcd and lcm

Source: Latvian TST for Baltic Way 2020 P16

October 18, 2020
number theoryleast common multiplegreatest common divisor

Problem Statement

Given sequence {an}\{a_n\} satisfying: an+1=lcm(an,an1)gcd(an,an1) a_{n+1} = \frac{ lcm(a_n,a_{n-1})}{\gcd(a_n, a_{n-1})} It is given that a209=209a_{209} =209 and a361=361a_{361} = 361. Find all possible values of a2020a_{2020}.