This is the second note in the series Number Theory: Divisibility. All numbers involved in this note are integers, and letters used in this note stand for integers without further specification.
Recap of Properties:
(1) If b∣c, and c∣a, then b∣a, that is, divisibility is transitive.
(2) If b∣a, and b∣c, then b∣(a±c), that is, the set of multiples of an integer is closed under addition and subtraction operations.
By using this property repeatedly, we have, if b∣a and b∣c, then b∣(au+cv), for any integers u and v. In general, if a1,a2,⋯,an are multiples of b, then b∣(a1+a2+⋯+an).
(3) If b∣a, then a=0 or ∣a∣≥∣b∣. Thus, if b∣a and a∣b, then ∣a∣=∣b∣.
Clearly, for any two integers a and b, a is not always divisible by b. But we have the following result, which is called the division algorithm. It is the most important result in elementary number theory.
(4) (The division algorithm) Let a and b be integers, and b>0. Then there is a unique pair of integers q and r, such that a=bq+rand0≤r<b.
The integer q is called the (incomplete) quotient when a is divided by b, r called the remainder. Note that the values of r has b kinds of possibilities, 0,1,⋯,b−1. If r=0, then a is divisible by b.
It is easy to see that the quotient q in the division algorithm is in fact ⌊ba⌋ (the greatest integer not exceeding ba), and the heart of the division algorithm is the inequality about the remainder r: 0≤r<b. We will go back to this point later on.
The basic method of proving b∣a is to factorize a into the product of b and another integer. Usually, in some basic problems this kind of factorization can be obtained by taking some special value in algebraic factorization equations. The following two factorization formulae are very useful in proving this kind of problems.
(5) If n is a positive integer, then xn−yn=(x−y)(xn−1+xn−2y+⋯+xyn−2+yn−1).
(6) If n is a positive odd number, then xn+yn=(x+y)(xn−1−xn−2y+⋯−xyn−2+yn−1).
Examples:
Example 1: Prove that 12000⋯01 is divisible by 1001.
Proof: By (6), we have
12000⋯01=10201+1=(103)67+1
=(103+1)[(103)66−(103)65+⋯−103+1]
=1001[(103)66−(103)65+⋯−103+1].
Therefore, 1001 divides 12000⋯01.
Example 2: Let a and b be integers such that a>b≥0. Show that
(22b+1)∣(22a−1).
Proof: Take x=22b+1, y=1 in (5), and substitute n by 2a−b−1. We have
22a−1=(22b+1−1)[(22b+1)2a−b−1−1+⋯+22b+1+1].
Thus,
(22b+1−1)∣(22a−1).
Since
22b+1−1=(22b−1)(22b+1),
hence
(22b+1)∣(22b+1−1).
By (1), we have
(22b+1)∣(22a−1),
and we are done.
Example 3: For a positive integer n, let S(n) denote the sum of digits of n. Show that 9∣n if and only if 9∣S(n).
Proof: Write n=ak×10k+⋯+a1×10+a0 (where 0≤ai≤9, and ak=0), then S(n)=a0+a1+⋯+ak. We have
n−S(n)=ak(10k−1)+⋯+a1(10−1)⋯(1.1)
For 1≤i≤k, from (5) we get 9∣(10i−1). So every term of the k terms in the RHS of (1.1) is a multiple of 9, thus (2) implies that their sum is also a multiple of 9, that is, 9∣(n−S(n)). Hence, the result can be obtained easily.
Example 4: Let k≥1 be an odd integer. Prove that for any positive integer n, 1k+2k+⋯+nk is not divisible by n+2.
Proof: When n=1 the statement is obviously true. For n≥2, denote the sum by A. Then
2A=2+(2k+nk)+(3k+(n−1)k)+⋯+(nk+2k).
Since k is a positive odd integer, from (6) we know that for every i≥2, ik+(n+2−i)k is divisible by
i+(n+2−i)=n+2.
Thus 2A has remainder 2 when divided by n+2, which implies that A is not divisible by n+2 (note that n+2>2).
This discussion board is a place to discuss our Daily Challenges and the math and science
related to those challenges. Explanations are more than just a solution — they should
explain the steps and thinking strategies that you used to obtain the solution. Comments
should further the discussion of math and science.
When posting on Brilliant:
Use the emojis to react to an explanation, whether you're congratulating a job well done , or just really confused .
Ask specific questions about the challenge or the steps in somebody's explanation. Well-posed questions can add a lot to the discussion, but posting "I don't understand!" doesn't help anyone.
Try to contribute something new to the discussion, whether it is an extension, generalization or other idea related to the challenge.
Stay on topic — we're all here to learn more about math and science, not to hear about your favorite get-rich-quick scheme or current world events.
Markdown
Appears as
*italics* or _italics_
italics
**bold** or __bold__
bold
- bulleted - list
bulleted
list
1. numbered 2. list
numbered
list
Note: you must add a full line of space before and after lists for them to show up correctly
Easy Math Editor
This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.
When posting on Brilliant:
*italics*
or_italics_
**bold**
or__bold__
paragraph 1
paragraph 2
[example link](https://brilliant.org)
> This is a quote
\(
...\)
or\[
...\]
to ensure proper formatting.2 \times 3
2^{34}
a_{i-1}
\frac{2}{3}
\sqrt{2}
\sum_{i=1}^3
\sin \theta
\boxed{123}
Comments
There are no comments in this discussion.