Maths Olympiad Prep

For teachers / Printable sets /Stage 9 · Number theory

Stage 9 · Number theory

10 problems · IMO P2/P5; hard shortlist · mathsolympiadprep.com

The answer key prints on its own page at the end.

  1. Let S\mathcal{S} be a finite nonempty set of prime numbers. Let 1=b1<b2<1 = b_{1} < b_{2} < \cdots be the sequence of all positive integers whose prime divisors all belong to S\mathcal{S}. Prove that, for all but finitely many positive integers nn, there exist positive integers a1,a2,,ana_{1}, a_{2}, \ldots, a_{n} such that
    a1b1+a2b2++anbn=1b1+1b2++1bn. \frac{a_{1}}{b_{1}} + \frac{a_{2}}{b_{2}} + \cdots + \frac{a_{n}}{b_{n}} = \left\lceil \frac{1}{b_{1}} + \frac{1}{b_{2}} + \cdots + \frac{1}{b_{n}} \right\rceil.

    Number theory Solution and answer checking →

  2. Let nn be a positive integer with bb digits and l,rl, r be non-negative integers satisfying l+r<bl + r < b. We say that a positive integer number is a sub-divisor of nn, if it divides the number obtained by erasing the first ll and last rr digits of nn. (For example, sub-divisors of 143143 are 11, 22, 33, 44, 77, 1111, 1313, 1414, 4343 and 143143.) For any positive integer dd, let AdA_d be the set of positive integers for which dd is not a sub-divisor. Find all positive integers dd for which the set AdA_d is finite.

    Number theory Solution and answer checking →

  3. Let a simple polynomial function be a polynomial function P(x)P(x) whose coefficients belong to the set {1,0,1}\{-1, 0, 1\}. Let nn be a positive integer, n>1n > 1. Find the smallest possible number of non-zero coefficients in a simple polynomial function of nnth order whose values at all integral arguments are divisible by nn.

    Answer: 2.

    Number theory Solution and answer checking →

  4. Find all positive integers a0a_0, a1a_1, a2a_2, b0b_0, b1b_1, b2b_2 such that
    a2b2n2+a1b1n+a0b0a_2 b_2 n^2 + a_1 b_1 n + a_0 b_0 divides (a22017n+b2)n2+(a12017n+b1)n+(a02017n+b0)(a_2^{2017n} + b_2)n^2 + (a_1^{2017n} + b_1)n + (a_0^{2017n} + b_0) for any positive integer nn.

    Number theory Solution and answer checking →

  5. We call a positive integer nn whose all digits are distinct bright, if either nn is a one-digit number or there exists a divisor of nn which can be obtained by omitting one digit of nn and which is bright itself. Find the largest bright positive integer. (We assume that numbers do not start with zero.)

    Number theory Solution and answer checking →

  6. Given any nn (>1> 1) coprime positive integers a1,a2,,ana_1, a_2, \dots, a_n, denote A=a1+a2++anA = a_1 + a_2 + \dots + a_n. Let di=(A,ai)d_i = (A, a_i) (the greatest common divisor), i=1,2,,ni = 1, 2, \dots, n.
    Let DiD_i be the greatest common divisor of {a1,a2,,an}{ai}\{a_1, a_2, \dots, a_n\} \setminus \{a_i\}, i=1,2,,ni = 1, 2, \dots, n. Find the minimum of i=1nAaidiDi\prod_{i=1}^n \frac{A - a_i}{d_i D_i}.
    (posed by Zhang Sihui)

    Number theory Solution and answer checking →

  7. Let m>1m > 1 be an integer. It is known that there exists a prime number in the interval [2mm+1,2m][2m - \sqrt{m} + 1, 2m]. Prove that among any mm pairwise distinct positive integers a1,a2,,ama_1, a_2, \dots, a_m, there exist two numbers aia_i and aja_j (1i,jm1 \le i, j \le m) such that
    ai(ai,aj)m, \frac{a_i}{(a_i, a_j)} \ge m,
    where (ai,aj)(a_i, a_j) denotes the greatest common divisor of the positive integers aia_i and aja_j.

    Number theory Solution and answer checking →

  8. Let nn be a positive integer. In this problem, we consider labellings of the squares of a chessboard of size n×nn \times n with the natural numbers from 11 to n2n^2 such that every number is used exactly once. Given such a labelling, we say a positive integer is a rook product if it is the product of the labels of nn squares which have the property that if you place a rook on each of them, no two rooks will attack each other.
    (Two rooks are attacking each other, if and only if they are in the same row or column.)

    a. Let n=8n = 8. Determine whether there exists a labelling of an 8×88 \times 8 chessboard such that the following condition is fulfilled: The difference of any two rook products is always divisible by 6565.

    b. Let n=10n = 10. Determine whether there exists a labelling of a 10×1010 \times 10 chessboard such that the following condition is fulfilled: The difference of any two rook products is always divisible by 101101.

    Number theory Solution and answer checking →

  9. Let a,ba, b be integers, and let P(x)=ax3+bxP(x) = a x^{3} + b x. For any positive integer nn we say that the pair (a,b)(a, b) is nn-good if nP(m)P(k)n \mid P(m) - P(k) implies nmkn \mid m - k for all integers m,km, k. We say that (a,b)(a, b) is very good if (a,b)(a, b) is nn-good for infinitely many positive integers nn.

    a. Find a pair (a,b)(a, b) which is 5151-good, but not very good.

    b. Show that all 20102010-good pairs are very good.

    (Turkey)

    Number theory Solution and answer checking →

  10. Let S{1,,n}S \subset \{1, \dots, n\} be a nonempty set, where nn is a positive integer. We denote by ss the greatest common divisor of the elements of the set SS. We assume that s1s \neq 1 and let dd be its smallest divisor greater than 11. Let T{1,,n}T \subset \{1, \dots, n\} be a set such that STS \subset T and T1+nd|T| \geq 1 + \lfloor \frac{n}{d} \rfloor. Prove that the greatest common divisor of the elements in TT is 11.

    Let nn (n1n \geq 1) be a positive integer and U={1,,n}U = \{1, \dots, n\}. Let SS be a nonempty subset of UU and let dd (d1d \neq 1) be the smallest common divisor of all elements of the set SS. Find the smallest positive integer kk such that for any subset TT of UU, consisting of kk elements, with STS \subset T, the greatest common divisor of all elements of TT is equal to 11.

    Number theory Solution and answer checking →

Answer key — Stage 9 · Number theory

Worked solutions for every problem are on the site, one page per problem.

  1. Prove it — see the worked solution open
  2. Prove it — see the worked solution open
  3. Prove it — see the worked solution open
  4. Prove it — see the worked solution open
  5. Prove it — see the worked solution open
  6. Prove it — see the worked solution open
  7. Prove it — see the worked solution open
  8. Prove it — see the worked solution open
  9. Prove it — see the worked solution open
  10. Prove it — see the worked solution open

Problems belong to the competitions that set them and are reproduced from open datasets under their licences; every problem page names its source. Free to copy for classroom use.