Problem 2709 · Hard

Greatest Common Divisor Traversal

Decide whether all indices can be linked together when two indices connect if their values share a prime factor. The visual joins indices through shared prime hubs and shows the components merging.

Open the interactive visualisation