At each vertex in figure 1, there is a student. A total of n = 60k coins are distributed to these students. The coins are redistributed as follows: Each student simultaneously give an equal number of coins to each of their neighbours. For instance, the student at the center vertex gives one fifth of their coins to each of the student's neighbours. Call a distribution of coins good if the coins can be distributed so that every student gives an integer number of coins to each of the student's neighbours and if after all students distribute their coins as described above, all students have the same number of coins they did before the coins were redistributed. How many good distributions of coins are there?
Source: this is based on problem 7 of the 2012 AIME I.
Let a be the number of coins of the student at the center, b the total number of coins of the students at distance one from the center, c the total number of coins of the students at distance 2 from the center, and d the total number of coins of the students at distance 3 from the center. Then one has the following system of equations: $a=b/3, b=a+c/2, c=2/3 b + d/2,d=c/2+d/2.$ The solution to the system is $c=4a=d, b=3a, a = k.$
The obvious distribution of coins where each student at the distances 0,1,2,3 from the center receives 5k,3k,4k,4k coins works. But I'm not sure how to find any other distributions without defining a lot of variables (one for each vertex) and getting a really complex system of equations.

If $\mathbf x$ is a $16$-dimensional vector representing a distribution of coins, then let $P\mathbf x = \mathbf x$ be the system of equations that tells us that $\mathbf x$ is good.
The matrix $P$ is a stochastic matrix: it satisfies $\mathbf 1^{\mathsf T}P = \mathbf 1^{\mathsf T}$. (In other words, the total number of coins does not change after the operation described in the problem.)
There are a couple of different ways to think about the problem of distribution of coins more abstractly:
In either case, we conclude that there is a unique good distribution of coins. It is the one we already found. And the theory of random walks has a final trick to help us along in case we did not find it:
That exactly tells us that the vertices of degree $5$ get $5k$ coins, the vertices of degree $4$ get $4k$ coins, and the vertices of degree $3$ get $3k$ coins.