Problem 1250 · Hard

Check If It Is a Good Array

Decide whether some integer combination of the array elements can equal one. The visual folds the values into a running greatest common divisor and shows it converging.

Open the interactive visualisation