Problem 1819 · Hard
A value g is a subsequence gcd exactly when the gcd of all array values that are multiples of g equals g.
Open the interactive visualisation