MathCastle
Graph TheoryMediumGraphs and Degrees

Graphs and Degrees · Medium problem

A graph has vertices 1,2,…,101,2,\ldots,10, with ii and jj joined exactly when ∣i−j∣|i-j| is 33 or 44. How many edges does it have?