Five people are passing a ball amongst themselves. The ball starts with Alonzo. Each person who has the ball passes it onto someone else. After the eighth pass, the ball returns to Alonzo. Find the number of possible sequences of passes.
There are 4^8 ways of passing the ball, without any restrictions. After 7 passes, there are 3*4^6 ways the ball could go back to Alonzo (which is not allowed for 8 passes, because the people must be different), so for 8 passes, the number of ways is 4^8 - 3*4^6 = 53248.