MathDB
The FIFA World Cup

Source: 2002 National High School Mathematics League, Exam Two, Problem 3

March 16, 2020

Problem Statement

Before the FIFA world cup, the football coach of F country want to test seven players A1,A2,,A7A_1, A_2, \cdots, A_7. He asks them to join in three training matches (90 minutes each), and everyone must appear in each match at least once. Suppose that at any moment during a match, one and only one of them enters the field, and the total time (measured in minutes) on the field for A1,A2,A3,A4A_1, A_2, A_3, A_4 are multiples of 77 and the total time forA5,A6,A7A_5, A_6, A_7 are multiples of 1313. If the number of substitutions of players during each match is not limited, find the number of different cases. Note: If and only if the total time of a certian player is different, then the case is considered different.