Luyện tập / Chủ đề Number Theory · Số học

Luyện tập Number Theory (Số học)

Bài tập tính chia hết, số nguyên tố, ước và bội, phép chia có dư, đồng dư, chữ số tận cùng và phương trình nghiệm nguyên.

Có 402 bài tập Number Theory · Số học · khối Lớp 9 · Trang 26/27 (Question 376–390)

Điểm: 0/15

Question 376

Khó · +30 điểm

Đề: AIME 2017 Session I · Question 9 · Lớp 9–12

Let $a_{10} = 10$, and for each integer $n > 10$ let $a_n = 100a_{n-1} + n$. Find the least $n > 10$ such that $a_n$ is a multiple of 99.

Xem đáp án và lời giải

Đáp án: $45$

Because $100 \equiv 1 \pmod{99}$, $a_n \equiv a_{n-1} + n \pmod{99}$. Thus \[ a_n \equiv \sum_{k=10}^n k \pmod{99}, \] which is equivalent to $\dfrac{(n+10)(n-9)}{2}$. Because $n + 10$ and $n - 9$ cannot both be multiples of 3, $a_n$ is a multiple of 99 if and only if one of the following holds: $n - 9$ is a multiple of 99. The least $n > 10$ is 108. $n + 10$ is a multiple of 99. The least $n > 10$ is 89. $n + 10$ is a multiple of 9 while $n - 9$ is a multiple of 11. The least $n > 10$ is 53. $n + 10$ is a multiple of 11 while $n - 9$ is a multiple of 9. The least $n > 10$ is 45. The requested minimum is 45.

Question 377

Khó · +30 điểm

Đề: AIME 2017 Session II · Question 8 · Lớp 9–12

Find the number of positive integers $n$ less than $2017$ such that \[ 1 + n + \dfrac{n^2}{2!} + \dfrac{n^3}{3!} + \dfrac{n^4}{4!} + \dfrac{n^5}{5!} + \dfrac{n^6}{6!} \] is an integer.

Xem đáp án và lời giải

Đáp án: $134$

The sum $\dfrac{n^2}{2!} + \dfrac{n^3}{3!} + \dfrac{n^4}{4!} + \dfrac{n^5}{5!} + \dfrac{n^6}{6!}$ is an integer if and only if multiplying the sum by $6!$ gives an integer $M = 360n^2 + 120n^3 + 30n^4 + 6n^5 + n^6$ that is divisible by $720$. This means that $n^6$ must be divisible by $6$. Suppose $n = 6k$ for some positive integer $k$. Then \[ M = 360 \cdot 6^2 k^2 + 120 \cdot 6^3 k^3 + 30 \cdot 6^4 k^4 + 6 \cdot 6^5 k^5 + 6^6 k^6, \] which is divisible by $720$ if and only if $k^5 + k^6$ is divisible by $5$. This happens exactly when either $k$ or $k + 1$ is a multiple of $5$. Thus $n$ must be either a multiple of $30$ or $6$ less than a multiple of $30$. The possible values of $n$ are $30m$, where $1 \leqslant m \leqslant 67$, and $30m - 6$, where $1 \leqslant m \leqslant 67$. There are $134$ such values.

Question 378

Khó · +30 điểm

Đề: AIME 2018 Session I · Question 6 · Lớp 9–12

Let $N$ be the number of complex numbers $z$ with the properties that $|z| = 1$ and $z^{6!} - z^{5!}$ is a real number. Find the remainder when $N$ is divided by $1000$.

Xem đáp án và lời giải

Đáp án: $440$

Since $|z| = 1$, we can write $z = e^{i\theta}$ for $\theta \in [0, 2\pi)$. Then $z^{6!} - z^{5!} = e^{i(720\theta)} - e^{i(120\theta)}$ is real. A difference of two complex numbers on the unit circle is real if and only if their imaginary parts are equal: \[ \sin(720\theta) = \sin(120\theta). \] This equation holds if and only if: \[ 720\theta = 120\theta + 2k\pi \text{ or } 720\theta = \pi - 120\theta + 2m\pi, \] for integers $k, m$. Case 1: $600\theta = 2k\pi \implies \theta = \dfrac{k\pi}{300}$. For $\theta \in [0, 2\pi)$, there are $600$ solutions ($k = 0, 1, \dots, 599$). Case 2: $840\theta = (2m + 1)\pi \implies \theta = \dfrac{(2m + 1)\pi}{840}$. For $\theta \in [0, 2\pi)$, there are $840$ solutions ($m = 0, 1, \dots, 839$). Next, we count the intersection of the two cases: \[ \dfrac{k\pi}{300} = \dfrac{(2m + 1)\pi}{840} \implies \dfrac{k}{5} = \dfrac{2m + 1}{14} \implies 14k = 5(2m + 1) = 10m + 5. \] The left-hand side is even, while the right-hand side is odd, which has no integer solutions! Therefore, the two sets of solutions are completely disjoint. The total number of complex numbers is \[ N = 600 + 840 = 1440. \] The remainder when $N$ is divided by $1000$ is $440$.

Let $S = \dfrac{1}{1\cdot 2} + \dfrac{1}{2\cdot 3} + \cdots + \dfrac{1}{20\cdot 21} = \dfrac{a}{b}$ in lowest terms. Find $a + b$.

Xem đáp án và lời giải

Đáp án: $41$

Tách $\dfrac{1}{k(k+1)} = \dfrac{1}{k} - \dfrac{1}{k+1}$ để khử liên tiếp, ta được $S = 1 - \dfrac{1}{21} = \dfrac{20}{21}$. Vậy $a + b = 20 + 21 = 41$.

[Part C · Hard] A deep-space transmitter protects 4-bit data (d1, d2, d3, d4) using the Hamming(7,4) code (p1, p2, d1, p3, d2, d3, d4) at bit positions $1..7$, where each parity check group must have an even number of 1s:

  • Check 1 (positions $1, 3, 5, 7$): $b_1 \oplus b_3 \oplus b_5 \oplus b_7 = 0$
  • Check 2 (positions $2, 3, 6, 7$): $b_2 \oplus b_3 \oplus b_6 \oplus b_7 = 0$
  • Check 3 (positions $4, 5, 6, 7$): $b_4 \oplus b_5 \oplus b_6 \oplus b_7 = 0$

Exactly 1 bit was flipped during transmission, and Earth receives 1 0 1 1 0 0 0 (positions $1..7$). Which bit position ($1$ to $7$) was corrupted?

Chọn đáp án

Xem đáp án và lời giải

Đáp án: $6$

Answer / Đáp án: 6

Step-by-step (EN): For received bits $b_1..b_7 = 1, 0, 1, 1, 0, 0, 0$, compute the three parity syndromes:

  • $s_1 = b_1 \oplus b_3 \oplus b_5 \oplus b_7 = 1 \oplus 1 \oplus 0 \oplus 0 = 0$ (passes)
  • $s_2 = b_2 \oplus b_3 \oplus b_6 \oplus b_7 = 0 \oplus 1 \oplus 0 \oplus 0 = 1$ (fails!)
  • $s_3 = b_4 \oplus b_5 \oplus b_6 \oplus b_7 = 1 \oplus 0 \oplus 0 \oplus 0 = 1$ (fails!)

Only position $6$ belongs to Check 2 and Check 3 while NOT belonging to Check 1 (equivalently, binary $(s_3 s_2 s_1)_2 = (110)_2 = 6$). Flipping $b_6$ to 1 restores the valid codeword 1011010!

Giải chi tiết (VI): Tính bit kiểm tra của $3$ nhóm trên dãy nhận được 1 0 1 1 0 0 0:

  • Nhóm 1 ($1{,}3{,}5{,}7$): $1 \oplus 1 \oplus 0 \oplus 0 = 0$ (Đúng)
  • Nhóm 2 ($2{,}3{,}6{,}7$): $0 \oplus 1 \oplus 0 \oplus 0 = 1$ (Sai)
  • Nhóm 3 ($4{,}5{,}6{,}7$): $1 \oplus 0 \oplus 0 \oplus 0 = 1$ (Sai).

Bit bị lỗi phải thuộc Nhóm 2 và Nhóm 3 nhưng không thuộc Nhóm 1 — đó chính là vị trí $6$ (hoặc đọc số nhị phân $(s_3 s_2 s_1)_2 = 110_2 = 6$).

Computational Thinking / Tư duy Máy tính: Error-Correcting Codes — Hamming(7,4) Syndrome Decoding (Mã tự sửa lỗi Hamming).

In how many consecutive zeros does the product $1 \times 2 \times 3 \times \cdots \times 100$ (that is, $100!$) end?

Chọn đáp án

Xem đáp án và lời giải

Đáp án: $24$

  • Điểm cần lưu ý: Đếm lũy thừa của thừa số nguyên tố $5$ theo công thức Legendre (nhớ cộng thêm phần bội của $5^2 = 25$)!
  • Cách suy luận: $\lfloor \dfrac{100}{5} \rfloor + \lfloor \dfrac{100}{25} \rfloor = 20 + 4 = 24$ chữ số $0$ tận cùng.

How many ordered pairs of positive integers $(x, y)$ satisfy $\dfrac{1}{x} + \dfrac{1}{y} = \dfrac{1}{6}$?

Chọn đáp án

Xem đáp án và lời giải

Đáp án: $9$

  • Điểm cần lưu ý: Biến đổi tương đương về phương trình ước số dạng $(x - 6)(y - 6) = 36$!
  • Cách suy luận: Quy đồng $6(x + y) = xy \Leftrightarrow xy - 6x - 6y + 36 = 36 \Leftrightarrow (x - 6)(y - 6) = 36$. Vì $x, y > 0$ và $\dfrac{1}{x} < \dfrac{1}{6} \Rightarrow x > 6, y > 6$, mỗi ước nguyên dương của $36$ cho đúng $1$ nghiệm $(x, y)$. Số $36 = 2^2 \cdot 3^2$ có $(2+1)(2+1) = 9$ ước dương $\rightarrow$ có $9$ cặp có thứ tự.

For how many positive integers $n$ is $n^2 + 45$ a perfect square?

Chọn đáp án

Xem đáp án và lời giải

Đáp án: $3$

  • Điểm cần lưu ý: Đặt $n^2 + 45 = m^2$ ($m > n \geqslant 1$) để đưa về phương trình tích $(m - n)(m + n) = 45$!
  • Cách suy luận: Số $45$ phân tích thành $3$ cặp ước dương $(1, 45), (3, 15), (5, 9)$. Cả $3$ cặp đều cùng tính lẻ nên đều cho nghiệm nguyên dương $n \in \{22, 6, 2\}$ $\rightarrow$ có đúng $3$ giá trị.

Two positive integers $15$ and $25$ have $\gcd(15, 25) = 5$. What is $\text{lcm}(15, 25)$?

Chọn đáp án

Xem đáp án và lời giải

Đáp án: $75$

  • Điểm cần lưu ý: Áp dụng $\text{lcm}(a, b) = (a \times b) / \gcd(a, b)$.
  • Cách suy luận: $\text{lcm}(15, 25) = (15 \times 25) : 5 = 75$.

In problem #3-1, what is the last (units) digit of $7^{48}$?

Chọn đáp án

Xem đáp án và lời giải

Đáp án: $1$

  • Điểm cần lưu ý: Chữ số tận cùng của lũy thừa lặp lại theo chu kỳ 4.
  • Cách suy luận: Chia số mũ $48$ cho $4$ dư $0$, nên chữ số tận cùng bằng chữ số tận cùng của $7^{4}$, tức là $1$.

For series #3-1, let $S = \dfrac{1}{1\cdot 2} + \dfrac{1}{2\cdot 3} + \dots + \dfrac{1}{15\cdot 16} = \dfrac{a}{b}$ in lowest terms. Find $a + b$.

Chọn đáp án

Xem đáp án và lời giải

Đáp án: $31$

  • Điểm cần lưu ý: Tách mỗi phân số thành $\dfrac{1}{k} - \dfrac{1}{k+1}$ để khử liên tiếp.
  • Cách suy luận: $S = 1 - \dfrac{1}{16} = \dfrac{15}{16}$, nên $a + b = 15 + 16 = 31$.

Two positive integers $24$ and $30$ have $\gcd(24, 30) = 6$. What is $\text{lcm}(24, 30)$?

Chọn đáp án

Xem đáp án và lời giải

Đáp án: $120$

  • Điểm cần lưu ý: Áp dụng $\text{lcm}(a, b) = (a \times b) / \gcd(a, b)$.
  • Cách suy luận: $\text{lcm}(24, 30) = (24 \times 30) : 6 = 120$.

In problem #3-2, what is the last (units) digit of $3^{37}$?

Chọn đáp án

Xem đáp án và lời giải

Đáp án: $3$

  • Điểm cần lưu ý: Chữ số tận cùng của lũy thừa lặp lại theo chu kỳ 4.
  • Cách suy luận: Chia số mũ $37$ cho $4$ dư $1$, nên chữ số tận cùng bằng chữ số tận cùng của $3^{1}$, tức là $3$.

Cài đặt ứng dụng O₂ Education

Thêm O₂ Education vào Màn hình chính trên iPhone / iPad để học nhanh như ứng dụng gốc:

  1. Nhấn biểu tượng Chia sẻ trên thanh công cụ Safari.
  2. Cuộn xuống và chọn Thêm vào MH chính (Add to Home Screen).
  3. Nhấn Thêm ở góc trên bên phải để hoàn tất.