Skip to main content
OlympiadHQ

Browse · MathNet

Print

The South African Mathematical Olympiad Third Round

South Africa algebra

Problem

A positive integer is said to be visionary if there are integers and such that . How many visionary integers are there?
Solution
All lower case variables in this solution denote integers. Let denote the set of visionary integers. We show that .

If is a visionary integer, then there exist and such that , i.e., , where . This implies that and we also have , since and . Hence . Conversely, let , i.e., for some . Then , where . Put and . Then and , and we see that , i.e., is visionary.

In order to solve the problem, we need to find the cardinality of the set . To this end, write as the disjoint union of and . (Note that 2020 is not a square.) Also, since the smallest element of is , and the largest element of is , the sets and are indeed disjoint.

Let . If , then , implying that , an impossibility. This shows that has exactly elements.

Next, consider any such that . We show that there exists a , where , such that . By the Division Algorithm, there exist (unique) and such that , where . Now if , then , a contradiction. So we have . Moreover, , as , where . Finally, if , then , so that also , i.e., all elements of lie in the interval . This shows that , and we conclude that .
Final answer
88

Techniques

Floors and ceilingsIntegers