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ó 909 bài tập Number Theory · Số học · khối Lớp 10 · Trang 22/61 (Question 316–330)

Điểm: 0/15

Question 316

Trung bình · +20 điểm

Đề: IKMC Practice · Phong cách Junior (Lớp 9–10) · Đề #07 (30 câu) · Question 17 · Lớp 9–10

How many consecutive zeros are at the end of $90! = 1 \times 2 \times 3 \times \dots \times 90$?

Chọn đáp án

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

Đáp án: $21$

  • Điểm cần lưu ý: Đừng quên các bội của 25 đóng góp thêm thừa số 5.
  • Cách suy luận: Số mũ của $5$ trong $90!$ là $\lfloor 90/5 \rfloor + \lfloor 90/25 \rfloor = 18 + 3 = 21$.

Question 317

Trung bình · +20 điểm

Đề: IKMC Practice · Phong cách Junior (Lớp 9–10) · Đề #07 (30 câu) · Question 20 · Lớp 9–10

For integer #3-2 ($N = 189$), how many positive divisors does $189$ have?

Chọn đáp án

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

Đáp án: $8$

  • Điểm cần lưu ý: Phân tích ra thừa số nguyên tố rồi nhân các (số mũ + 1).
  • Cách suy luận: $189 = 3^{3} \times 7^{1}$, nên số ước là $(3+1)(1+1) = 8$.

Question 318

Trung bình · +20 điểm

Đề: IKMC Practice · Phong cách Junior (Lớp 9–10) · Đề #07 (30 câu) · Question 24 · Lớp 9–10

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$.

Question 319

Trung bình · +20 điểm

Đề: IKMC Practice · Phong cách Junior (Lớp 9–10) · Đề #07 (30 câu) · Question 30 · Lớp 9–10

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

Chọn đáp án

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

Đáp án: $49$

  • Đ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}{25} = \dfrac{24}{25}$, nên $a + b = 24 + 25 = 49$.

Question 320

Khó · +30 điểm

Đề: AIME 2012 Session II · Question 7 · Lớp 9–12

Let $S$ be the increasing sequence of positive integers whose binary representation has exactly $8$ ones. Let $N$ be the $1000$th number in $S$. Find the remainder when $N$ is divided by $1000$.

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

Đáp án: $32$

Because $C_{12}^8 = 495$ and $C_{13}^8 = 1287$, the $1000$th integer in $S$ must have $13$ digits. There are $C_{13}^8 = 1287$ integers in $S$ less than $2^{13}$, and exactly $C_{11}^5 = 462$ of these have $13$ digits and begin with $11$. The $1000$th integer in $S$ must be the number in position $462 - (1287 - 1000) = 175$ among the numbers beginning with $11$. Of these, $C_9^3 = 84$ of them begin with $1100$, another $C_8^3 = 56$ of them begin with $11010$, and $C_7^3 = 35$ of them begin with $110110$. It follows that the largest number in $S$ beginning with $110110$ must be in position $84 + 56 + 35 = 175$ among the elements of $S$ that begin with $11$. Thus the $1000$th integer in $S$ is $1101101111000_2$. This number has the value \[ N = 2^{12} + 2^{11} + 2^9 + 2^8 + 2^6 + 2^5 + 2^4 + 2^3 = 7032. \] The requested remainder when $N$ is divided by $1000$ is $32$.

Question 321

Khó · +30 điểm

Đề: AIME 2012 Session II · Question 10 · Lớp 9–12

Find the number of positive integers $n$ less than $1000$ for which there exists a positive real number $x$ such that $n = x \lfloor x \rfloor$. (Note: $\lfloor x \rfloor$ is the greatest integer less than or equal to $x$.)

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

Đáp án: $496$

Let $a$ be a positive integer. Because the distance from the integer $a^2$ to the integer $a(a+1)$ is $a(a+1) - a^2 = a$, there are $a$ positive integers $n$ that satisfy $a^2 \leqslant n < a(a+1)$. For each such $n$ there is a rational number $x = \dfrac{n}{a}$ such that $n = xa = x\lfloor x \rfloor$. The condition $a(a+1) \leqslant 1000$ implies that $a \leqslant 31$. All values of $n$ corresponding to $a = 1, 2, 3, \dots, 31$ satisfy the conditions of the problem, and thus there are $1 + 2 + 3 + \dots + 31 = \dfrac{31(31+1)}{2} = 496$ such values of $n$.

Question 322

Khó · +30 điểm

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

The domain of the function $f(x) = \arcsin(\log_m(nx))$ is a closed interval of length $\dfrac{1}{2013}$, where $m$ and $n$ are positive integers and $m > 1$. Find the remainder when the smallest possible sum $m + n$ is divided by $1000$.

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

Đáp án: $371$

The domain of $f(x)$ is the solution of the inequality $-1 \leqslant \log_m(nx) \leqslant 1$, or equivalently, $\dfrac{1}{mn} \leqslant x \leqslant \dfrac{m}{n}$. Thus the domain is a closed interval of length $\dfrac{1}{2013} = \dfrac{m}{n} - \dfrac{1}{mn} = \dfrac{m^2 - 1}{mn}$. Hence $n = \dfrac{2013(m^2 - 1)}{m}$. Because $m$ and $m^2 - 1$ are relatively prime, $m$ must be a factor of $2013 = 3 \cdot 11 \cdot 61$. The smallest possible value of $n$ is $\dfrac{2013(3^2 - 1)}{3} = 5368$, and the smallest possible sum $m + n$ is $5368 + 3 = 5371$. The requested remainder is $371$.

Question 323

Khó · +30 điểm

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

For nonnegative integers $a$ and $b$ with $a + b \leqslant 6$, let $T(a, b) = C_6^a C_6^b C_6^{a+b}$. Let $S$ denote the sum of all $T(a, b)$, where $a$ and $b$ are nonnegative integers with $a + b \leqslant 6$. Find the remainder when $S$ is divided by 1000.

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

Đáp án: $564$

It follows from \[ C_6^{a+b} = C_6^{6 - (a+b)} \] that \[ S = \sum_{a+b \leqslant 6} C_6^a C_6^b C_6^{6 - (a+b)} = \sum_{a+b+c = 6} C_6^a C_6^b C_6^c. \] For given values of $a, b$, and $c$, the term $C_6^a C_6^b C_6^c$ corresponds to the number of choices when selecting $a$ elements from $\{1, 2, 3, 4, 5, 6\}$, $b$ elements from $\{7, 8, 9, 10, 11, 12\}$, and $c$ elements from $\{13, 14, 15, 16, 17, 18\}$. Thus $S$ is equal to the number of 6-element subsets of $\{1, 2, 3, \ldots, 18\}$, namely $C_{18}^6 = 18{,}564$. The requested remainder is 564.

Question 324

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 325

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 326

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$.

[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ự.

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.