Clock with seven marks
Modular Patterns
A dial has positions numbered 1 through 7. Start at 1 and advance 3 marks clockwise for each move, wrapping around. Which numbered position is reached after 100 moves? Submit one integer.
Learning goal: Use modular arithmetic for repeated rotations.
Look for the underlying structure rather than guessing the next number. Submit only the final integer; you can open hints below as needed.
Check your answer without signing in. Sign in to save your progress.
Hints
Hint 1
The dial repeats every seven advances of the same size.
Hint 2
Compute 3 times the move count modulo 7.
Hint 3
Add 1 to the zero-based remainder.
Common mistake to avoid
Assuming the first visible step stays constant without testing the full pattern.
How to approach this problem
Convert the starting label to zero-based position, add the total displacement and reduce modulo the number of marks.
Worked example with different values
On a five-mark dial labeled 1–5, advancing two marks three times from 1 gives 1+(6 mod 5)=2.
Apply the same reasoning to the challenge. This example is a separate practice problem.
Learn the technique: Sequence patterns: differences, recurrences and interleaving · Number theory: divisors, gcd and modular arithmetic