There is a relation between rectilinear-adjacent squares such that there is a unique rectilinear path from the top-left corner of the grid down to the bottom-right corner of the grid. Each square can participate in the path only once. What is the relation and the path it induces?

enter image description here



I think the relation is

not coprime, i.e. having a common divisor > 1


31 is connected to 93 because gcd(93,31) = 31 > 1
93 is connected to 9 because gcd(93, 9) = 3 > 1
93 is not connected to 56 because gcd(93, 56) = 1

And the path is:

enter image description here


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.