MathCastle
ChallengeSuperchallengeAdvanced Number Theory

Advanced Number Theory · Superchallenge problem

Five people check their hats at a party, and the hats are returned at random. The probability that NOBODY receives their own hat is mn\tfrac{m}{n} for relatively prime positive integers mm and nn. Find m+nm + n.