4
Part of 2002 May Olympiad
Problems(2)
coloring vertices of regular 2002-gon
Source: VIII May Olympiad (Olimpiada de Mayo) 2002 L2 P4
9/19/2022
The vertices of a regular -sided polygon are numbered through , clockwise. Given an integer , , color vertex blue, then, going clockwise, count vertices starting at the next of , and color blue. And so on, starting from the vertex that follows the last vertex that was colored, n vertices are counted, colored or uncolored, and the number is colored blue. When the vertex to be colored is already blue, the process stops. We denote to the set of blue vertices obtained with this procedure when starting with vertex . For example, is made up of vertices , , , , , , , , , , and .
Determine all integers , , such that has exactly vertices,
combinatoricscombinatorial geometry
5 digit combination in bank safe
Source: VIII May Olympiad (Olimpiada de Mayo) 2002 L1 P4
9/22/2022
In a bank, only the manager knows the safe's combination, which is a five-digit number. To support this combination, each of the bank's ten employees is given a five-digit number. Each of these backup numbers has in one of the five positions the same digit as the combination and in the other four positions a different digit than the one in that position in the combination. Backup numbers are: , , , , , , , , , . What is the combination to the safe?
number theoryDigits