A 3x3 square is divided into 9 1x1 unit squares. Different integers from 1 to 9 are written into the squares. Consider pairs of numbers that share a commen edge.

What is the maximum number of pairs where one number is a factor of the other number?

Any help with this one would be greatly appreciated!

I did come up with 8 pairs, but i am not sure if it is correct!

Cheers