MathCastle
Graph TheoryMediumTrees

Trees · Medium problem

A tree has 1212 vertices. Every non-leaf vertex shares the same degree dd (an unknown constant), and the sum of the squares of ALL 1212 degrees is 5252. How many leaves does the tree have?