Skip to main content
OlympiadHQ

Browse · MathNet

Print

Estonian Mathematical Olympiad

Estonia algebra

Problem

A plus or a minus sign is placed between every pair of consecutive digits in the sequence .

a) Find the smallest positive odd number that cannot be equal to the value of the resulting expression.

b) Find the smallest positive even number that cannot be equal to the value of the resulting expression.
Solution
Let the sum of the digits with a plus sign in front of them be and the absolute value of the sum of the digits with a minus sign in front of them be . Then the value of the expression equals . Also . Therefore .

a) As , nothing greater than can be the value of the expression. We now show that we can obtain all the positive odd integers up to as the result of the expression; this shows that the least positive integer that cannot be equal to the result is .

We previously showed that . In order to make the value of the expression be , we need to put a minus sign in front of some digits that sum up to . As is a positive odd integer between and , the number is a nonnegative integer between and . Each such positive integer can be written as a sum of digits as follows: numbers from to are among the digits themselves, numbers from to can be obtained as the sum of and some other digit, and numbers to can be written as the sum of , and some other digit in the range of to . The case corresponds to the version where every digit has a plus sign in front of it.

b) Number cannot be obtained as the value of the expression, because solving gives , which is impossible in integers. The number is also the least positive even number.
Final answer
a) 47; b) 2

Techniques

IntegersInvariants / monovariants