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ó 666 bài tập Number Theory · Số học · khối Lớp 12 · Trang 3/45 (Question 31–45)

Điểm: 0/15

Question 31

Cực khó · +50 điểm

Đề: AIME 2013 Session II · Question 14 · Lớp 9–12

For positive integers $n$ and $k$, let $f(n, k)$ be the remainder when $n$ is divided by $k$, and for $n > 1$ let $F(n) = \max\limits_{1 \leqslant k \leqslant \frac{n}{2}} f(n, k)$. Find the remainder when $\sum\limits_{n=20}^{100} F(n)$ is divided by $1000$.

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

Đáp án: $512$

If $m > 1$, then \[f(3m, m + 1) = m - 2, f(3m + 1, m + 1) = m - 1, f(3m + 2, m + 1) = m.\] Furthermore, \[f(3m, k) < m - 2 \text{ for } k \leqslant m - 2, f(3m, m - 1) = 3, f(3m, m) = 0,\] and \[f(3m, k) = 3m - 2k < m - 2 \text{ for } m + 1 < k \leqslant \dfrac{3m}{2}.\] Therefore $F(3m) = m - 2$. Because $F(n + 1) \leqslant F(n) + 1$ for all $n$, it follows that $F(3m + 1) = m - 1$ and $F(3m + 2) = m$. Thus $$ \begin{aligned} \sum_{n=20}^{100} F(n) &= \sum_{m=7}^{33} (F(3m - 1) + F(3m) + F(3m + 1)) \\ &= \sum_{m=7}^{33} ((m - 1) + (m - 2) + (m - 1)) \\ &= 3 \sum_{m=7}^{33} (m - 1) - 27 \\ &= 3 \cdot \dfrac{27(6 + 32)}{2} - 27 = 1512. \end{aligned} $$ The requested remainder is $512$.

Question 32

Cực khó · +50 điểm

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

Consider arrangements of the 9 numbers $1, 2, 3, \ldots, 9$ in a $3 \times 3$ array. For each such arrangement, let $a_1$, $a_2$, and $a_3$ be the medians of the numbers in rows 1, 2, and 3, respectively, and then let $m$ be the median of $\{a_1, a_2, a_3\}$. Let $Q$ be the number of arrangements for which $m = 5$. Find the remainder when $Q$ is divided by 1000.

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

Đáp án: $360$

In an array with $m = 5$ rename all entries less than 5 as L and all entries greater than 5 as G. Then one row of the array will contain the entries L5G in some order. The other two rows will either contain entries LLL and GGG or contain entries LLG and LGG. In the first case there are $3! = 6$ ways to permute the L5G entries, 1 way to permute each of the LLL and GGG entries, and $3! = 6$ ways to permute the three rows of the array. In the second case there are 6 ways to permute the L5G entries, 3 ways to permute each of the LLG and LGG entries, and 6 ways to permute the three rows of the array. Thus there is a total of \[ 6 \cdot (3^2 + 1^2) \cdot 6 = 360 \] ways to arrange the four L, four G, and one 5 entries in an array with $m = 5$. For any one such array there are $4! = 24$ ways to replace the four L entries with $1, 2, 3$, and 4 and $4! = 24$ ways to replace the four G entries with $6, 7, 8$, and 9, so \[ Q = 360 \cdot 24^2 = 207{,}360. \] The requested remainder is 360.

Question 33

Cực khó · +50 điểm

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

For every $m \geqslant 2$, let $Q(m)$ be the least positive integer with the following property: For every $n \geqslant Q(m)$, there is always a perfect cube $k^3$ in the range $n < k^3 \leqslant m \cdot n$. Find the remainder when \[ \sum_{m=2}^{2017} Q(m) \] is divided by 1000.

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

Đáp án: $59$

Each of the sets $\{2, 3, 4, 5, 6, 7\}$, $\{9, 10, \ldots, 24\}$, and $\{32, 33, \ldots, 62\}$ has the form $\{n+1, n+2, \ldots, m \cdot n\}$ and contains no perfect cubes. Thus $Q(7) > 1$, $Q(3) > 8$, and $Q(2) > 31$. For a given $m$ let $k$ be the greatest integer such that $k^3 \leqslant Q(m) - 1$ and $m \cdot (Q(m) - 1) < (k+1)^3$. It follows that $m k^3 + 1 \leqslant (k+1)^3$, so $(m-1)k^2 - 3k - 3 \leqslant 0$. Solving for $k$ and using the fact that $k$ is an integer yields \[ k \leqslant \left\lfloor \dfrac{3 + \sqrt{12m - 3}}{2m - 2} \right\rfloor. \] For $m = 2, 3, 4$, and $8$, it follows that $k \leqslant 3, 2, 1$, and $0$, respectively. Because $m \cdot (Q(m) - 1) < (k+1)^3$, it follows that $Q(2) < 33$, $Q(3) < 10$, $Q(4) < 3$, and $Q(8) < \dfrac{9}{8}$. By definition $Q(m) \geqslant Q(m+1) \geqslant 1$ for all $m$. Thus $Q(m) = 1$ for all $m \geqslant 8$. Also, $2 \leqslant Q(7) \leqslant Q(6) \leqslant Q(5) \leqslant Q(4) \leqslant 2$, so $Q(4) = Q(5) = Q(6) = Q(7) = 2$. Finally, $Q(3) = 9$ and $Q(2) = 32$. Therefore \[ \sum_{m=2}^{2017} Q(m) = 32 + 9 + 4 \cdot 2 + 2010 \cdot 1 = 2059. \] The requested remainder is 59.

Question 34

Cực khó · +50 điểm

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

Let $a > 1$ and $x > 1$ satisfy $\log_a (\log_a (\log_a 2) + \log_a 24 - 128) = 128$ and $\log_a (\log_a x) = 256$. Find the remainder when $x$ is divided by 1000.

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

Đáp án: $896$

Simplify the first equation as follows: \[ \begin{aligned} \log_a (\log_a 2) + \log_a 24 - 128 &= a^{128} \\ \log_a (24 \log_a 2) &= 128 + a^{128} \\ \log_a (2^{24}) &= a^{128} \cdot a^{a^{128}} \\ 2^{24} &= a^{a^{128} \cdot a^{a^{128}}} \\ (2^3)^{(2^3)} &= (a^{a^{128}})^{(a^{a^{128}})}. \end{aligned} \] Thus $a^{a^{128}} = 2^3$. Letting $a = 2^{\frac{b}{128}}$ shows that $(2^{\frac{b}{128}})^{2^b} = 2^3$, which reduces to $3 \cdot 128 = b \cdot 2^b$. This implies that $b = 6$, so $a = 2^{\frac{3}{64}}$, and \[ x = a^{a^{256}} = (2^{\frac{3}{64}})^{2^{\left(\frac{3}{64} \cdot 256\right)}} = 2^{192}. \] Then $x \equiv 0 \pmod 8$. Euler's Theorem shows that $2^{192} \equiv 2^{-8} \equiv 256^{-1} \pmod{125}$. Because $3 \cdot 42 = 126 \equiv 1 \pmod{125}$, it follows that 128 and 42 are inverses mod 125. Thus 256 and 21 are inverses mod 125, so $x \equiv 21 \pmod{125}$. Because $x \equiv 0 \pmod 8$ and $x \equiv 21 \pmod{125}$, the Chinese Remainder Theorem implies that $x \equiv 896 \pmod{1000}$.

Question 35

Cực khó · +50 điểm

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

For each subset $T$ of $U = \{1, 2, 3, \dots, 18\}$, let $s(T)$ be the sum of the elements of $T$, with $s(\emptyset)$ defined to be $0$. If $T$ is chosen at random among all subsets of $U$, the probability that $s(T)$ is divisible by $3$ is $\dfrac{m}{n}$, where $m$ and $n$ are relatively prime positive integers. Find $m$.

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

Đáp án: $683$

Partition $U$ into three sets of $6$ elements according to their residues modulo $3$: $$ \begin{aligned} A &= \{1, 4, 7, 10, 13, 16\} (\text{residue } 1), \\ B &= \{2, 5, 8, 11, 14, 17\} (\text{residue } 2), \\ C &= \{3, 6, 9, 12, 15, 18\} (\text{residue } 0). \end{aligned} $$ The elements in $C$ have sum $\equiv 0 \pmod 3$, so choosing any subset of $C$ does not affect $s(T) \pmod 3$. Let $a = |T \cap A|$ and $b = |T \cap B|$. Then the sum modulo $3$ is \[ s(T) \equiv a(1) + b(2) \equiv a - b \pmod 3. \] Thus, $s(T)$ is divisible by $3$ if and only if $a \equiv b \pmod 3$. Since $0 \leqslant a, b \leqslant 6$, this occurs when $|a - b| \in \{0, 3, 6\}$. We use the roots of unity filter. Let $\omega = e^{2\pi i / 3}$. The generating function for subsets of $A \cup B$ weighted by $\omega^{s(T)}$ is \[ P(x) = (1 + x)^6 (1 + x^2)^6. \] Evaluating at $x = 1, \omega, \omega^2$: For $x = 1$: $P(1) = 2^6 \times 2^6 = 2^{12} = 4096$. For $x = \omega$: $1 + \omega = -\omega^2$, so $(1 + \omega)^6 = (-\omega^2)^6 = 1$. Similarly, $1 + \omega^2 = -\omega$, so $(1 + \omega^2)^6 = (-\omega)^6 = 1$. Thus $P(\omega) = 1 \times 1 = 1$. For $x = \omega^2$: by symmetry, $P(\omega^2) = 1$. By the multisection formula, the number of subsets of $A \cup B$ whose sum is divisible by $3$ is \[ \dfrac{P(1) + P(\omega) + P(\omega^2)}{3} = \dfrac{4096 + 1 + 1}{3} = \dfrac{4098}{3} = 1366. \] The total number of subsets of $A \cup B$ is $2^{12} = 4096$. Therefore, the probability is \[ \dfrac{1366}{4096} = \dfrac{683}{2048}. \] Since $683$ is prime, this fraction is in lowest terms. Thus $m = 683$.

Question 36

Cực khó · +50 điểm

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

For any positive integer $a$, $\sigma(a)$ denotes the sum of the positive integer divisors of $a$. Let $n$ be the least positive integer such that $\sigma(a^n) - 1$ is divisible by $2021$ for all positive integers $a$. Find the sum of the prime factors in the prime factorization of $n$.

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

Đáp án: $125$

Note that $2021 = 43 \times 47$, where both $43$ and $47$ are prime numbers. By the multiplicative property of $\sigma$, if $a = p_1^{\alpha_1} p_2^{\alpha_2} \dots$, then: \[ \sigma(a^n) = \prod \sigma(p_i^{n\alpha_i}). \] For $\sigma(a^n) \equiv 1 \pmod{2021}$ to hold for all $a$, it is necessary and sufficient that for every prime $p$ and every $\alpha \geqslant 1$: \[ \sigma(p^{n\alpha}) = 1 + p + p^2 + \dots + p^{n\alpha} \equiv 1 \pmod{43} \text{ and } \pmod{47}. \] This means: \[ p(1 + p + \dots + p^{n\alpha - 1}) \equiv 0 \pmod{43} \text{ and } \pmod{47}. \] For primes $p \not\equiv 0 \pmod{43}$, multiplying by $p - 1$ gives $p^{n\alpha} - 1 \equiv 0 \pmod{43}$, so $p^{n\alpha} \equiv 1 \pmod{43}$. For this to hold for all $p \not\equiv 0 \pmod{43}$, the exponent $n$ must be a multiple of the order of every element in $\mathbb{F}_{43}^\times$ and $\mathbb{F}_{47}^\times$. Using primitive roots modulo $43$ and $47$: Modulo $43$: $n$ must be divisible by $43 - 1 = 42 = 2 \times 3 \times 7$, and by $43$. Modulo $47$: $n$ must be divisible by $47 - 1 = 46 = 2 \times 23$, and by $47$. Therefore, $n$ must be divisible by $lcm(42, 43, 46, 47)$: The prime factors that must divide $n$ are $2, 3, 7, 23, 43, 47$. The sum of these prime factors is: \[ 2 + 3 + 7 + 23 + 43 + 47 = 125. \]

Question 37

Dễ · +10 điểm

Đề: AMC 12 2000 · Question 1 · Lớp 10–12

In the year 2001, the United States will host the International Mathematical Olympiad. Let $I, M$, and $O$ be distinct positive integers such that the product $I.M\cdot O = 2001$. What is the largest possible value of the sum $I + M + O$?

Chọn đáp án

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

Đáp án: $671$

Factor 2001 into primes: \[ 2001 = 3 \cdot 23 \cdot 29. \] The largest possible sum of three distinct positive factors whose product is 2001 occurs when one factor is as large as possible. Since $I, M, O$ must be distinct positive integers, the greatest possible single factor is the product of the two largest prime factors, namely $23 \cdot 29 = 667$. The other two distinct factors must then be 3 and 1: \[ \{I, M, O\} = \{1, 3, 667\}. \] The largest possible sum is \[ 1 + 3 + 667 = 671. \]

Question 38

Dễ · +10 điểm

Đề: AMC 12 2000 · Question 6 · Lớp 10–12

Two different prime numbers between 4 and 18 are chosen. When their sum is subtracted from their product, which of the following numbers could be obtained?

Chọn đáp án

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

Đáp án: $119$

The prime numbers strictly between 4 and 18 are 5, 7, 11, 13, and 17. All of these primes are odd. Therefore, the product of any two of these primes is odd, and their sum is even. Subtracting an even number from an odd number yields an odd number: \[ xy - (x + y) = (x - 1)(y - 1) - 1. \] This eliminates the even choices 60 and 180. Testing the products of pairs: $x = 5, y = 7$: $5 \cdot 7 - (5 + 7) = 35 - 12 = 23$. $x = 11, y = 13$: $11 \cdot 13 - (11 + 13) = 143 - 24 = 119$. The largest pair is $13, 17$: $13 \cdot 17 - (13 + 17) = 221 - 30 = 191 < 231$. Thus, 119 is the only possible value among the options.

Question 39

Dễ · +10 điểm

Đề: AMC 12 2001 · Question 2 · Lớp 10–12

Let $P(n)$ and $S(n)$ denote the product and the sum, respectively, of the digits of the integer $n$. For example, $P(23) = 6$ and $S(23) = 5$. Suppose $N$ is a two-digit number such that $N = P(N) + S(N)$. What is the units digit of $N$?

Chọn đáp án

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

Đáp án: $9$

Let $N = 10a + b$, where $a \in \{1, 2, \dots, 9\}$ is the tens digit and $b \in \{0, 1, \dots, 9\}$ is the units digit. Then $P(N) = ab$ and $S(N) = a + b$. The given condition is \[ 10a + b = ab + (a + b). \] Subtracting $a + b$ from both sides gives \[ 9a = ab. \] Since $a \ne 0$, we can divide by $a$ to obtain \[ b = 9. \] Thus the units digit of $N$ is 9.

Question 40

Dễ · +10 điểm

Đề: AMC 12 2002 · Question 26 · Lớp 10–12

The arithmetic mean of the nine numbers in the set $\{9, 99, 999, 9999, \dots, 999999999\}$ is a 9-digit number $M$, all of whose digits are distinct. The number $M$ does not contain the digit

Chọn đáp án

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

Đáp án: $0$

The sum of the nine numbers is \[ \sum_{k=1}^9 \underbrace{99\dots9}_{k \text{ nines}} = \sum_{k=1}^9 (10^k - 1) = \left(\sum_{k=1}^9 10^k\right) - 9 = 1111111110 - 9 = 1111111101. \] The arithmetic mean $M$ is \[ M = \dfrac{1111111101}{9} = 123456789. \] The digits of $M$ are $1, 2, 3, 4, 5, 6, 7, 8, 9$. The number $M$ does not contain the digit 0.

Question 41

Dễ · +10 điểm

Đề: AMC 12 2002 · Question 28 · Lớp 10–12

For how many positive integers $n$ is $n^2 - 3n + 2$ a prime number?

Chọn đáp án

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

Đáp án: one

Factoring the quadratic expression: \[ n^2 - 3n + 2 = (n - 1)(n - 2). \] For a product of two integers to be a prime number $p$, one of the factors must be 1 (or $-1$) and the other must be $p$ (or $-p$). Since $n$ is a positive integer: If $n - 2 = 1$, then $n = 3$, giving $(3 - 1)(3 - 2) = 2 \cdot 1 = 2$, which is prime. If $n - 1 = 1$, then $n = 2$, giving $(2 - 1)(2 - 2) = 1 \cdot 0 = 0$, which is not prime. If $n - 1 = -1$, then $n = 0$, which is not a positive integer. If $n - 2 = -1$, then $n = 1$, giving $(1 - 1)(1 - 2) = 0$, which is not prime. For any $n \geqslant 4$, both factors $n - 1$ and $n - 2$ are integers greater than 1, so their product is composite. Thus $n = 3$ is the only such positive integer. There is only one such positive integer.

Question 42

Dễ · +10 điểm

Đề: AMC 12 2002 · Question 29 · Lớp 10–12

Let $n$ be a positive integer such that $\dfrac{1}{2} + \dfrac{1}{3} + \dfrac{1}{7} + \dfrac{1}{n}$ is an integer. Which of the following statements is not true?

Chọn đáp án

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

Đáp án: $n > 84$

We calculate the sum of the first three fractions: \[ \dfrac{1}{2} + \dfrac{1}{3} + \dfrac{1}{7} = \dfrac{21 + 14 + 6}{42} = \dfrac{41}{42}. \] We want $\dfrac{41}{42} + \dfrac{1}{n} = k$ to be an integer. Since $n > 0$, $\dfrac{1}{n} > 0$, so $k > \dfrac{41}{42}$. Since $\dfrac{1}{n} \leqslant 1$ for any positive integer $n$, we have \[ \dfrac{41}{42} < k \leqslant \dfrac{41}{42} + 1 = \dfrac{83}{42} < 2. \] The only integer $k$ in this range is $k = 1$. Then \[ \dfrac{1}{n} = 1 - \dfrac{41}{42} = \dfrac{1}{42} \implies n = 42. \] For $n = 42$: 2 divides 42 (True) 3 divides 42 (True) 6 divides 42 (True) 7 divides 42 (True) $n > 84$ is False since $42 < 84$. Thus statement (E) is not true.

Question 43

Dễ · +10 điểm

Đề: AMC 12 2003 · Question 26 · Lớp 10–12

Which of the following is the same as \[ \dfrac{2 - 4 + 6 - 8 + 10 - 12 + 14}{3 - 6 + 9 - 12 + 15 - 18 + 21}? \]

Chọn đáp án

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

Đáp án: $\dfrac{2}{3}$

We factor $2$ from the numerator and $3$ from the denominator: \[ \dfrac{2 - 4 + 6 - 8 + 10 - 12 + 14}{3 - 6 + 9 - 12 + 15 - 18 + 21} = \dfrac{2(1 - 2 + 3 - 4 + 5 - 6 + 7)}{3(1 - 2 + 3 - 4 + 5 - 6 + 7)} = \dfrac{2}{3}. \]

Question 44

Dễ · +10 điểm

Đề: AMC 12 2004 · Question 1 · Lớp 10–12

Alicia earns 20 dollars per hour, of which $1.45\%$ is deducted to pay local taxes. How many cents per hour of Alicia's wages are used to pay local taxes?

Chọn đáp án

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

Đáp án: $29$

Alicia's hourly wage is $20 = 2000\text{ cents}$. The amount deducted in cents per hour is: \[ 2000 \times 1.45\% = 2000 \times 0.0145 = 29\text{ cents}. \]

Question 45

Dễ · +10 điểm

Đề: AMC 12 2004 · Question 28 · Lớp 10–12

If $x$ and $y$ are positive integers for which $2^x 3^y = 1296$, what is the value of $x + y$?

Chọn đáp án

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

Đáp án: $8$

We find the prime factorization of $1296$: \[ 1296 = 36^2 = (6^2)^2 = 6^4 = (2 \times 3)^4 = 2^4 \times 3^4. \] By the Fundamental Theorem of Arithmetic, the prime factorization of an integer is unique. Therefore, \[ x = 4 \text{ and } y = 4. \] Thus, \[ x + y = 4 + 4 = 8. \]

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.