Counting & ProbabilityHardAdvanced Number Theory
Advanced Number Theory · Hard problem
A fair -sided die, with faces numbered through , is rolled three times. Find the number of outcomes (ordered sequences of the three rolls) for which the three numbers rolled, in some order, form a Pythagorean triple – that is, can be labeled with .