Skip to main content
OlympiadHQ

Browse · MathNet

Print

Estonian Mathematical Olympiad

Estonia number theory

Problem

Mari writes 8 prime numbers (not necessarily different) to her notebook, all smaller than 200. She then adds 1 to the first number, 2 to the second number and so on until adding 8 to the eighth number. She then finds the product of the eight sums. Find the largest power of two which can divide the product found.
Solution
To have the product divisible by as great power of 2 as possible, each of the factors has to be divisible by the greatest power of 2 possible. By adding an even number to a prime number, the sum is divisible by 2 only if the original prime is even. As the only even prime number is 2, it has to be chosen to all even positions. Their respective sums are 4, 6, 8, and 10, and the respective maximal powers of 2 which they are divisible with are , , , and . Let's investigate the odd positions one by one. As 127 is a prime and is the maximal power of 2 less than , the first position is 127. As , the maximal power of 2 dividing the third sum cannot be . However, 61 is a prime and , hence 61 is suitable for the third position. As , the maximal power of 2 dividing the fifth sum cannot be . However, is a prime and , hence is suitable for the fifth position. As , the maximal power of 2 dividing the seventh sum cannot be . The natural numbers smaller than 200 which are divisible by are 64 and 192. The respective numbers which would result in these numbers are and , neither of which is a prime. However, 89 is a prime and , hence 89 is suitable for the seventh position. In summary, the maximal power of 2 which divides the product of the eight numbers is .
Final answer
2^31

Techniques

Prime numbersFactorization techniquesCombinatorial optimization