整数整除的基本性质

Before this, know整数的倍数,因数,和整除

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, aa divides bb if bb leaves a remainder of 00 when divided by aa. We say that, bb is divisible by aa. Here, aa is the divisor and bb is the multiple. It is usually denoted by a∣ba|b, or some authors denote it by b⋮ab\vdots a. But here, we will go with the first notation.

Example 22 is a divisor of 88 and 1010 is a multiple of 55, so 2∣82|8 and 10⋮510\vdots5.

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 aa divides bb, then the result of their division is called quotient and this is certainly an integer. Thus, if ba=k\dfrac{b}{a}=k, then kk is the quotient.

A number nn is called prime if it has exactly two distinct divisors: 11, and nn itself. A number greater than 11 which isn't prime is composite, in other words a positive integer nn is composite if a positive integer greater than 11 divides nn.

You should guess already. 22 is the only even prime. Think on why it is so.

Now, if a∣ba|b, we can say that bb must be greater than or equal to aa, since everything that's a part of aa must be in bb too. That is, b≥ab\geq a. We should actually write ∣b∣≥∣a∣|b|\geq|a|, where ∣x∣|x| is the absolute value of xx. Because they can be negative integers too. There is one case though where this fails. That is, when b=0b=0. One can say, a∣ba|b and ∣b∣<∣a∣|b|<|a| is possible only in one case when b=0b=0.

If a∣ba|b and a∣ca|c, can you say that a∣b+ca|b+c? What about a∣b−ca|b-c? Actually both are true, and they can be generalized. If a∣ba|b and a∣ca|c, then a∣bx+cya|bx+cy for any integers x,yx,y. Important special cases are: If a∣ba|b, a∣b±aqa|b\pm aq for any integer qq.

Let's prove it formally. If a∣ba|b then b=akb=ak and similarly c=alc=al if a∣ca|c. Then bx+cy=akx+aly=a(kx+ly)bx+cy=akx+aly=a(kx+ly) which is certainly divisible by aa.

Problems

1.1. Find all positive integer nn which satisfies 8n+9∣12n+58n+9|12n+5.

First let's think on how to approach. It is obvious we need to cancel out the nn on the right side by any means. Think yourself how you can do it.

Solution: 8n+9∣3(8n+9)=24n+278n+9|3(8n+9)=24n+27, and 8n+9∣2(12n+5)=24n+108n+9|2(12n+5)=24n+10. Thus, 8n+9∣24n+28−(24n+10)=178n+9|24n+28-(24n+10)=17. 1717 has only two divisors, namely 11 and 1717. 8n+9=18n+9=1 doesn't have any solution in positive integers. 8n+9=178n+9=17 yields n=1n=1.

2.2. Find the largest positive integer xx so that x+25x+25 divides x2+25x^2+25.

Solution 1: x+25∣x(x+25)=x2+25xx+25|x(x+25)=x^2+25x, and from the condition, we have x+25∣x2+25x+25|x^2+25. If we subtract, we have x+25∣25x−25x+25|25x-25. Again we need to rule out xx in a same manner. x+25∣25(x+25)=25x+625x+25|25(x+25)=25x+625 and x+25∣25x−25x+25|25x-25. Subtract again and we get x+25∣25x+625−(25x−25)=650x+25|25x+625-(25x-25)=650. Now, x+25≤650x+25\leq 650 and so x=625x=625 is the solution.

Note: we could have written x+25∣25−25xx+25|25-25x too when we subtracted. But that wouldn't matter in this case. Because we could have just added to 25x+62525x+625 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: an−bn=(a−b)(an−1+an−2b+…+bn−1)a^n-b^n=(a-b)\left(a^{n-1}+a^{n-2}b+\ldots+b^{n-1}\right) A special case is a2−b2=(a+b)(a−b)a^2-b^2=(a+b)(a-b).

Solution 2: We have x+25∣x2−252x+25|x^2-25^2 or x+25∣x2−625x+25|x^2-625. Thus, x+25∣x2+25−(x2−625)=650x+25|x^2+25-(x^2-625)=650 and the same result.

Questions

357879581=479⋅747139357879581=479\cdot747139. Multiple and divisor are respectively,

Choose one answer

No recipe to follow

These problems have no steps to copy. You have to understand the idea well enough to bend it to a new purpose. These are real problems from the AMC 8, AMC 10, AMC 12 and AIME, the national math competitions for middle and high school students, each with a worked solution on LIVE by Po-Shen Loh.

Interactive · 4 questions

We say an integer d≠0d \ne 0 divides an integer nn if and only if there exists an integer cc such that n=c⋅dn = c \cdot d. In other words, nd\frac{n}{d} is an integer. We can also say dd is a divisor of nn, or nn is divisible by dd. We must exclude d=0d = 0 because unless we are studying wheel theory, division by 00 is undefined. We can write dd divides nn as d∣nd | n, and we can write dd does not divide nn as d∤nd \nmid n.

Most proofs for divisibility properties resort back to this definition. For example, to prove the obvious statement a∣aa | a, we must find an integer cc such that a=c⋅aa = c \cdot a. Clearly, c=c = 1.

Which of the below properties is NOT necessarily true?

Choose one answer

Read · 1 min

Without using congruence or brute force methods, prove that 232+12^{32}+1 is divisible by 641641.

Read · 1 min

If x,yx,y are integers and aa divides both bb and cc, prove that aa divides any linear combination of bb and cc i.e. a∣bx+cya|bx+cy.

Type a concept, like “slope” or “photosynthesis”.

↑ ↓ to choose · Enter to openSearch explanations and problems