Problem:
A small village has people. During their yearly elections, groups of three people come up to a stage and vote for someone in the village to be the new leader. After every possible group of three people has voted for someone, the person with the most votes wins.
This year, it turned out that everyone in the village had the exact same number of votes! If , what is the number of possible values of ?
Proposed by: Vincent Bian
HMMO, 2020
Solution
Solution:
The problem asks for the number of that divide , which happens exactly when is an integer. Regardless of the parity of , is always divisible by . Also, is divisible by if and only if is not a multiple of . Of the values from to , are divisible by , so our answer is .
Want a route through all this instead of an archive? The track
puts 2,604 problems in a working order, from Junior Challenge level to the IMO shortlist.