MathCastle
Graph TheoryHardWalks, Paths and Connectivity

Walks, Paths and Connectivity · Hard problem

A graph has vertices 1,…,301,\ldots,30, with i≠ji\ne j joined when gcd⁡(i,j)>1\gcd(i,j)>1. How many connected components does it have?