MathDB
7 numbers on dots,

Source: 2021 Dutch BxMO TST p3

December 28, 2021
combinatoricsnumber theory

Problem Statement

Let pp be a prime number greater than 22. Patricia wants 77 not-necessarily different numbers from {1,2,...,p}\{1, 2, . . . , p\} to the black dots in the figure below, on such a way that the product of three numbers on a line or circle always has the same remainder when divided by pp. https://cdn.artofproblemsolving.com/attachments/3/1/ef0d63b8ff5341ffc340de0cc75b24c7229e23.png
(a) Suppose Patricia uses the number pp at least once. How many times does she have the number pp then a minimum sum needed?
(b) Suppose Patricia does not use the number pp. In how many ways can she assign numbers? (Two ways are different if there is at least one black one dot different numbers are assigned. The figure is not rotated or mirrored.)