Interactive · 3 questions
This is an introduction into number theory. Many people try to define it as "arithmetic of integers", but we aren't going to define and restrict the area of mathematics it covers. Instead, we just intend to explore the integers and their properties for now, from an olympiad perspective.
Divisibility
This is the most basic part of number theory. Let's say, divides if leaves a remainder of when divided by . We say that, is divisible by . Here, is the divisor and is the multiple. It is usually denoted by , or some authors denote it by . But here, we will go with the first notation.
Example is a divisor of and is a multiple of , so and .
Usually, by divisor, we mean only positive divisors. Because divisors can be negative too, but unless stated explicitly, a divisor means a positive divisor. Now, if divides , then the result of their division is called quotient and this is certainly an integer. Thus, if , then is the quotient.
A number is called prime if it has exactly two distinct divisors: , and itself. A number greater than which isn't prime is composite, in other words a positive integer is composite if a positive integer greater than divides .
You should guess already. is the only even prime. Think on why it is so.
Now, if , we can say that must be greater than or equal to , since everything that's a part of must be in too. That is, . We should actually write , where is the absolute value of . Because they can be negative integers too. There is one case though where this fails. That is, when . One can say, and is possible only in one case when .
If and , can you say that ? What about ? Actually both are true, and they can be generalized. If and , then for any integers . Important special cases are: If , for any integer .
Let's prove it formally. If then and similarly if . Then which is certainly divisible by .
Problems
Find all positive integer which satisfies .
First let's think on how to approach. It is obvious we need to cancel out the on the right side by any means. Think yourself how you can do it.
Solution: , and . Thus, . has only two divisors, namely and . doesn't have any solution in positive integers. yields .
Find the largest positive integer so that divides .
Solution 1: , and from the condition, we have . If we subtract, we have . Again we need to rule out in a same manner. and . Subtract again and we get . Now, and so is the solution.
Note: we could have written too when we subtracted. But that wouldn't matter in this case. Because we could have just added to instead of subtracting and gain the same result.
The following solution is a crafty one. But you have to know the following identity for that: A special case is .
Solution 2: We have or . Thus, and the same result.
Questions
. Multiple and divisor are respectively,
Is a prime?
Is a prime?