This is a beta course, so its structure, chapters, and examples may continue to change.
Proving Divisibility
Proving divisibility problems with mathematical induction is common in number theory. The key is to use the properties of divisibility and modular arithmetic.
Basic Knowledge
Divisibility notation : a ∣ b a | b a ∣ b means that a a a divides b b b , i.e., there exists an integer k k k such that b = k a b = ka b = k a .
Properties of divisibility :
If a ∣ b a | b a ∣ b and a ∣ c a | c a ∣ c , then a ∣ ( b ± c ) a | (b \pm c) a ∣ ( b ± c )
If a ∣ b a | b a ∣ b , then a ∣ k b a | kb a ∣ k b (k k k is any integer)
Proof Strategy
The steps to prove a ∣ f ( n ) a | f(n) a ∣ f ( n ) :
Base case : verify that a ∣ f ( n 0 ) a | f(n_0) a ∣ f ( n 0 )
Inductive hypothesis : assume a ∣ f ( k ) a | f(k) a ∣ f ( k ) , i.e., f ( k ) = m a f(k) = ma f ( k ) = ma (m m m is an integer)
Inductive step : express f ( k + 1 ) f(k+1) f ( k + 1 ) in a form containing f ( k ) f(k) f ( k ) , then use the inductive hypothesis
Worked Examples
Example 1: Basic Divisibility
Proposition : prove that n 3 − n n^3 - n n 3 − n is divisible by 6.
Proof :
Base case : when n = 1 n = 1 n = 1 , 1 3 − 1 = 0 = 6 × 0 1^3 - 1 = 0 = 6 \times 0 1 3 − 1 = 0 = 6 × 0 , divisible by 6.
Inductive hypothesis : assume k 3 − k k^3 - k k 3 − k is divisible by 6, i.e., k 3 − k = 6 m k^3 - k = 6m k 3 − k = 6 m (m m m is an integer)
Inductive step :
( k + 1 ) 3 − ( k + 1 ) = k 3 + 3 k 2 + 3 k + 1 − k − 1 = k 3 − k + 3 k 2 + 3 k = ( k 3 − k ) + 3 k ( k + 1 ) = 6 m + 3 k ( k + 1 ) (inductive hypothesis) \begin{aligned}
(k+1)^3 - (k+1) &= k^3 + 3k^2 + 3k + 1 - k - 1 \\
&= k^3 - k + 3k^2 + 3k \\
&= (k^3 - k) + 3k(k + 1) \\
&= 6m + 3k(k+1) \quad \text{(inductive hypothesis)}
\end{aligned} ( k + 1 ) 3 − ( k + 1 ) = k 3 + 3 k 2 + 3 k + 1 − k − 1 = k 3 − k + 3 k 2 + 3 k = ( k 3 − k ) + 3 k ( k + 1 ) = 6 m + 3 k ( k + 1 ) (inductive hypothesis)
Since k k k and k + 1 k+1 k + 1 are consecutive integers, one of them must be even, so k ( k + 1 ) k(k+1) k ( k + 1 ) is even. Let k ( k + 1 ) = 2 p k(k+1) = 2p k ( k + 1 ) = 2 p :
( k + 1 ) 3 − ( k + 1 ) = 6 m + 3 × 2 p = 6 m + 6 p = 6 ( m + p ) (k+1)^3 - (k+1) = 6m + 3 \times 2p = 6m + 6p = 6(m+p) ( k + 1 ) 3 − ( k + 1 ) = 6 m + 3 × 2 p = 6 m + 6 p = 6 ( m + p )
Therefore it is divisible by 6.
Conclusion : by mathematical induction, n 3 − n n^3 - n n 3 − n is divisible by 6 for all n ≥ 1 n \geq 1 n ≥ 1 .
Example 2: Divisibility of a Difference of Powers
Proposition : prove that 7 n − 1 7^n - 1 7 n − 1 is divisible by 6.
Proof :
Base case : when n = 1 n = 1 n = 1 , 7 1 − 1 = 6 7^1 - 1 = 6 7 1 − 1 = 6 , divisible by 6.
Inductive hypothesis : assume 7 k − 1 7^k - 1 7 k − 1 is divisible by 6, i.e., 7 k − 1 = 6 m 7^k - 1 = 6m 7 k − 1 = 6 m
Inductive step :
7 k + 1 − 1 = 7 ⋅ 7 k − 1 = 7 ( 7 k − 1 ) + 7 − 1 = 7 × 6 m + 6 (inductive hypothesis) = 6 ( 7 m + 1 ) \begin{aligned}
7^{k+1} - 1 &= 7 \cdot 7^k - 1 \\
&= 7(7^k - 1) + 7 - 1 \\
&= 7 \times 6m + 6 \quad \text{(inductive hypothesis)} \\
&= 6(7m + 1)
\end{aligned} 7 k + 1 − 1 = 7 ⋅ 7 k − 1 = 7 ( 7 k − 1 ) + 7 − 1 = 7 × 6 m + 6 (inductive hypothesis) = 6 ( 7 m + 1 )
Therefore it is divisible by 6.
Conclusion : by mathematical induction, 7 n − 1 7^n - 1 7 n − 1 is divisible by 6 for all n ≥ 1 n \geq 1 n ≥ 1 .
Example 3: Divisibility in the Fibonacci Sequence
Proposition : the Fibonacci sequence F 1 = 1 , F 2 = 1 , F n + 2 = F n + 1 + F n F_1 = 1, F_2 = 1, F_{n+2} = F_{n+1} + F_n F 1 = 1 , F 2 = 1 , F n + 2 = F n + 1 + F n . Prove that F 3 n F_{3n} F 3 n is divisible by 2.
Proof :
First compute the first few terms: F 1 = 1 , F 2 = 1 , F 3 = 2 , F 4 = 3 , F 5 = 5 , F 6 = 8 , F 7 = 13 , F 8 = 21 , F 9 = 34 F_1=1, F_2=1, F_3=2, F_4=3, F_5=5, F_6=8, F_7=13, F_8=21, F_9=34 F 1 = 1 , F 2 = 1 , F 3 = 2 , F 4 = 3 , F 5 = 5 , F 6 = 8 , F 7 = 13 , F 8 = 21 , F 9 = 34
Base case : when n = 1 n = 1 n = 1 , F 3 = 2 F_3 = 2 F 3 = 2 , divisible by 2.
Inductive hypothesis : assume F 3 k F_{3k} F 3 k is divisible by 2.
Inductive step : we need to prove that F 3 ( k + 1 ) = F 3 k + 3 F_{3(k+1)} = F_{3k+3} F 3 ( k + 1 ) = F 3 k + 3 is divisible by 2.
Use the property of the Fibonacci sequence: F n + 3 = F n + 2 + F n + 1 = ( F n + 1 + F n ) + F n + 1 = 2 F n + 1 + F n F_{n+3} = F_{n+2} + F_{n+1} = (F_{n+1} + F_n) + F_{n+1} = 2F_{n+1} + F_n F n + 3 = F n + 2 + F n + 1 = ( F n + 1 + F n ) + F n + 1 = 2 F n + 1 + F n
Therefore:
F 3 k + 3 = 2 F 3 k + 1 + F 3 k F_{3k+3} = 2F_{3k+1} + F_{3k} F 3 k + 3 = 2 F 3 k + 1 + F 3 k
By the inductive hypothesis, F 3 k F_{3k} F 3 k is divisible by 2, while 2 F 3 k + 1 2F_{3k+1} 2 F 3 k + 1 is clearly divisible by 2, so F 3 k + 3 F_{3k+3} F 3 k + 3 is divisible by 2.
Conclusion : by mathematical induction, F 3 n F_{3n} F 3 n is divisible by 2 for all n ≥ 1 n \geq 1 n ≥ 1 .
Practice Problems
Exercise 1
Prove: 5 n − 1 5^n - 1 5 n − 1 is divisible by 4.
Reference Answer (2 个标签)
mathematical induction divisibility proof
Base case : when n = 1 n = 1 n = 1 , 5 1 − 1 = 4 5^1 - 1 = 4 5 1 − 1 = 4 , divisible by 4.
Inductive hypothesis : assume 5 k − 1 5^k - 1 5 k − 1 is divisible by 4, i.e., 5 k − 1 = 4 m 5^k - 1 = 4m 5 k − 1 = 4 m
Inductive step :
5 k + 1 − 1 = 5 ⋅ 5 k − 1 = 5 ( 5 k − 1 ) + 5 − 1 = 5 × 4 m + 4 = 4 ( 5 m + 1 ) \begin{aligned}
5^{k+1} - 1 &= 5 \cdot 5^k - 1 \\
&= 5(5^k - 1) + 5 - 1 \\
&= 5 \times 4m + 4 \\
&= 4(5m + 1)
\end{aligned} 5 k + 1 − 1 = 5 ⋅ 5 k − 1 = 5 ( 5 k − 1 ) + 5 − 1 = 5 × 4 m + 4 = 4 ( 5 m + 1 ) Conclusion : by mathematical induction, 5 n − 1 5^n - 1 5 n − 1 is divisible by 4.
Exercise 2
Prove: n 5 − n n^5 - n n 5 − n is divisible by 5.
Reference Answer (2 个标签)
mathematical induction divisibility proof
Base case : when n = 1 n = 1 n = 1 , 1 5 − 1 = 0 1^5 - 1 = 0 1 5 − 1 = 0 , divisible by 5.
Inductive hypothesis : assume k 5 − k k^5 - k k 5 − k is divisible by 5.
Inductive step :
( k + 1 ) 5 − ( k + 1 ) = k 5 + 5 k 4 + 10 k 3 + 10 k 2 + 5 k + 1 − k − 1 = k 5 − k + 5 k 4 + 10 k 3 + 10 k 2 + 5 k = ( k 5 − k ) + 5 ( k 4 + 2 k 3 + 2 k 2 + k ) \begin{aligned}
(k+1)^5 - (k+1) &= k^5 + 5k^4 + 10k^3 + 10k^2 + 5k + 1 - k - 1 \\
&= k^5 - k + 5k^4 + 10k^3 + 10k^2 + 5k \\
&= (k^5 - k) + 5(k^4 + 2k^3 + 2k^2 + k)
\end{aligned} ( k + 1 ) 5 − ( k + 1 ) = k 5 + 5 k 4 + 10 k 3 + 10 k 2 + 5 k + 1 − k − 1 = k 5 − k + 5 k 4 + 10 k 3 + 10 k 2 + 5 k = ( k 5 − k ) + 5 ( k 4 + 2 k 3 + 2 k 2 + k ) By the inductive hypothesis, k 5 − k k^5 - k k 5 − k is divisible by 5, while 5 ( k 4 + 2 k 3 + 2 k 2 + k ) 5(k^4 + 2k^3 + 2k^2 + k) 5 ( k 4 + 2 k 3 + 2 k 2 + k ) is clearly divisible by 5.
Conclusion : by mathematical induction, n 5 − n n^5 - n n 5 − n is divisible by 5.
Summary
Symbols Used in This Article
符号 类型 读音/说明 在本文中的含义 a ∣ b a \mid b a ∣ b 数学符号 a divides b a a a divides b b b k k k 数学符号 k An integer f ( n ) f(n) f ( n ) 数学符号 f of n A proposition function of n n n n 0 n_0 n 0 数学符号 n-sub-zero The starting value of induction m , p m, p m , p 数学符号 m, p Integers F n F_n F n 数学符号 F-sub-n The n n n th term of the Fibonacci sequence ≥ \geq ≥ 数学符号 greater than or equal to Greater than or equal to
中英对照
中文术语 英文术语 音标 说明 整除 divisibility /dɪˌvɪzəˈbɪləti/ One number divides another without remainder 模运算 modular arithmetic /ˈmɒdjʊlə əˈrɪθmətɪk/ Operations concerning remainders 斐波那契数列 Fibonacci sequence /ˌfɪbəˈnɑːtʃi ˈsiːkwəns/ F n + 2 = F n + 1 + F n F_{n+2} = F_{n+1} + F_n F n + 2 = F n + 1 + F n 数学归纳法 mathematical induction /ˌmæθəˈmætɪkəl ɪnˈdʌkʃən/ A proof method from the base case to the general 归纳假设 induction hypothesis /ɪnˈdʌkʃən haɪˈpɒθəsɪs/ Assuming the proposition holds for n = k n=k n = k