Maths Olympiad Prep

Track / Stage 2 / 119 of 240 #359 of 2444

Problem 359

Number theory Difficulty 2.5 Find the answer CEMC Fermat · Canada · 2021

Let aa and bb be positive integers for which 45a+b=202145a + b = 2021. The minimum possible value of a+ba+b is

4444
8282
8585
8686
130130

A number or a short expression. Fractions can be typed as 3/2, and spacing doesn't matter.

Next problem →

Official solution

Solution 1

Since aa is a positive integer, 45a45a is a positive integer.

Since bb is a positive integer, 45a45a is less than 2021.

The largest multiple of 45 less than 2021 is 45×44=198045 \times 44 = 1980. (Note that 4545=202545 \cdot 45 = 2025 which is greater than 2021.)

If a=44a=44, then b=20214544=41b = 2021 - 45 \cdot 44 = 41.

Here, a+b=44+41=85a+b=44+41=85.

If aa is decreased by 1, the value of 45a+b45a+b is decreased by 45 and so bb must be increased by 45 to maintain the same value of 45a+b45a+b, which increases the value of a+ba+b by 1+45=44-1+45=44.

Therefore, if a<44a<44, the value of a+ba+b is always greater than 85.

If a>44a>44, then 45a>202145a>2021 which makes bb negative, which is not possible.

Therefore, the minimum possible value of a+ba+b is 85.

Solution 2

We re-write 45a+b=202145a+b=2021 as 44a+(a+b)=202144a+(a+b)=2021.

Since aa and bb are positive integers, 44a44a and a+ba+b are positive integers.

In particular, this tells us that 44a44a, which is a multiple of 44, is less than 2021.

Since the sum of 44a44a and a+ba+b is constant, to minimize a+ba+b, we can try to maximize 44a44a.

Since 4445=198044 \cdot 45 = 1980 and 4446=202444 \cdot 46 = 2024, the largest multiple of 44 less than 2021 is 1980.

This means that a+b20211980=41a+b \geq 2021 - 1980 = 41.

However, a+ba+b cannot equal 41 since we would need 44a=198044a = 1980 and so a=45a=45 (making b=4b=-4) to make this possible.

The next multiple of 44 less than 1980 is 4444=193644 \cdot 44 = 1936.

If a=44a=44, then a+b=202144a=85a+b = 2021 - 44a = 85.

If a=44a=44 and a+b=85a+b=85, then b=41b=41 which is possible.

Since a+b=41a+b=41 is not possible and 85 is the next smallest possible value for a+ba+b, then the minimum possible value for a+ba+b is 85.

Source: CEMC, University of Waterloo, licensed CC-BY-NC-4.0. Statement reproduced verbatim; metadata (topic, difficulty, ordering) added by this project.