Practice library

Problems

number theory · difficulty 3-574 of 651easiest first

1CityNumber theorySerbia 1997Determine the smallest natural number the product of whose digits equals \(75600\).Open2CityNumber theorySerbia 2004Let \(a\), \(b\), \(c\) be positive integers such that all three of the numbers \[ p = b^{c} + a, \qquad q = a^{b} + c, \qquad r = c^{a} + b \] are prime. Prove that two of the numbers \(p\), \(q\), \(r\) …3CityNumber theorySerbia 2005Find all prime numbers \(p\), \(q\), \(r\), not necessarily different from one another, and all positive integers \(n\), for which \[ \frac{1}{p} + \frac{1}{q} + \frac{1}{r} = \frac{1}{n}. \]4CityNumber theorySerbia 2007Natural numbers \(a\), \(b\) and \(c\) satisfy \[ a + \cfrac{1}{b + \cfrac{1}{c}} = \frac{4016}{2007} . \] Prove that \[ \cfrac{1}{c + \cfrac{1}{b + \cfrac{1}{a}}} = \frac{2007}{4016} . \]5CityNumber theorySerbia 2010Does the number \[ 2010^{2010} + 10^{2011} \] have more digits in its decimal representation than the number \(2010^{2010}\)?6CityNumber theorySerbia 2011For a natural number \(k\), let \(S(k)\) denote the sum of its digits. Do there exist natural numbers \(n\) and \(m\) such that \[ S(n) \cdot S(n+1) \cdot \ldots \cdot S(n+m) = 2011^{2010}\,? \]7CityNumber theorySerbia 2012Determine all natural numbers \(n\) for which the number of positive divisors of \(n^{3}\) is exactly \(2011\) greater than the number of positive divisors of \(n\).8CityNumber theorySerbia 2022Determine all pairs of prime numbers \(p\) and \(q\) for which \((p^3 + 1)^q\) is the square of a natural number.9CityNumber theorySerbia 1997Let \(a\) and \(b\) be arbitrary natural numbers, let \(M\) be their least common multiple and \(D\) their greatest common divisor. Prove that \[ a^n + b^n \le M^n + D^n \] holds for every natural number …10CityNumber theorySerbia 1998Find a five-digit natural number whose half is the square of a natural number and whose third is the cube of a natural number.11CityNumber theorySerbia 1999Prove that a natural number of the form \(4n + 1\) can be represented as a sum of two squares if and only if the number \(8n + 2\) can be represented as a sum of two squares.12CityNumber theorySerbia 2000The decimal representation of a positive integer \(n\) uses only the digits \(1\), \(3\), \(7\) and \(9\), and each of these four digits appears at least once. Prove that the digits of \(n\) can be rearranged …13CityNumber theorySerbia 2009Let \(n\) be a natural number. Prove that \(n^2 + 3n + 5\) is never divisible by \(121\).14CityNumber theorySerbia 2015a) Suppose the ordered quadruple \((x, y, z, w)\) is a solution of the equation \[ x^2 + y^2 + z^2 + w^2 = xyzw . \] Prove that \((yzw - x,\, y,\, z,\, w)\) is a solution of the same equation. b) Prove …15CityNumber theorySerbia 2023Determine all natural numbers \(n\) for which the number \[ n^2 + 7n + 2 \] is equal to a product of several (at least two) consecutive natural numbers.16CityNumber theorySlovenia 2003Find every natural number with the following property: when the sum of its digits is added to the number itself, the result is \(313\).17CityNumber theorySlovenia 2005Find the smallest natural number \(n\) for which the sum \[ n + 2n + 3n + \cdots + 9n \] is a number whose decimal representation has all of its digits equal.18CityNumber theorySerbia 2013Does there exist a natural number \(n\) for which the decimal expansion of \(n!\) has the form \[ n! = \ldots 2012\,\underbrace{00\ldots 0}_{k}, \] that is, ends in the digit block \(2012\) followed by …19CityNumber theorySlovenia 2001Let \(d\) denote the greatest common divisor and \(v\) the least common multiple of the natural numbers \(m\) and \(n\). Prove that if \[ 3m + n = 3v + d , \] then \(n\) divides \(m\).20CityNumber theorySlovenia 2008Find the smallest three-digit number with the property that every digit of its triple is even.21CityNumber theorySerbia 2016Consider strictly increasing sequences \(a_1, a_2, a_3, \dots\) of prime numbers in which any two consecutive terms differ by \(2\) or by \(4\); that is, \[ a_{i+1} - a_i \in \{2, 4\} \quad \text{for every } i. \] …22CityNumber theorySerbia 2019Find all natural numbers \(n\) for which the three numbers \[ n-4, \qquad 2n+2, \qquad 4n+1 \] are all perfect cubes.23CityNumber theorySerbia 2020Let \(m > 1\) be a natural number. Prove that there is no sequence of \(2^{m}\) consecutive natural numbers all of which have exactly \(m\) prime factors, counted with multiplicity. (For example, the number …24CityNumber theorySerbia 2021Let \(n \ge 3\), and suppose \(n\) consecutive odd three-digit numbers are given. Prove that these \(n\) numbers can be arranged into a sequence \(b_1, b_2, \ldots, b_n\) so that the number \[ \overline{b_1b_2\ldots b_n}, \] …25CityNumber theorySlovenia 2017Let \(n\) be the number \(100\ldots001\) whose decimal expansion consists of the digit \(1\), then \(2017\) digits \(0\), then the digit \(1\) again. Decide, with proof, whether \(n\) is divisible by (a) …26CityNumber theorySlovenia 2019Show that the number \(7^{2018} + 9^{2020n}\) is divisible by \(5\) for every natural number \(n\).27CityNumber theorySlovenia 2002Determine every pair of integers \((x, y)\) for which \[ \frac{1}{x} + \frac{1}{y} = \frac{1}{2} . \]28CityNumber theorySlovenia 2004Find all natural numbers \(m\) and \(n\) that satisfy \[ \frac{3}{m} + \frac{5}{n} = 1 . \]29CityNumber theorySlovenia 2006Jana and Zana each wrote down her own age. Both ages turned out to be two-digit numbers written with the same two digits, only in the opposite order. Five years from now, Jana will be exactly twice as …30CityNumber theorySlovenia 2007A competition paper had \(20\) problems. Each problem answered correctly was worth \(8\) points, each problem answered incorrectly cost \(5\) points, and a problem left blank scored \(0\). Tine handed …31CityNumber theorySlovenia 2010Find the smallest three-digit number with the following property: if its digits are written in the reverse order and the number so obtained is added to the original number, then every digit of the sum …32CityNumber theorySlovenia 2001Find all pairs of integers \(x\) and \(y\) that satisfy the equation \[ x^2 + xy + y^2 = 1 . \]33CityNumber theorySerbia 2005Determine all triples of integers \((x, y, z)\) that satisfy \[ x^{2} + y^{2} + z^{2} = 2004\,xyz . \]34CityNumber theorySerbia 2018A clock has three hands, each turning at its own constant speed: the second hand completes a full circle in one minute, the minute hand in one hour, and the hour hand in twelve hours. At midnight all three …35RegionalNumber theorySerbia 2019Find all integer solutions of the equation \[ 6x^{3} + 7y^{2} + 8z^{3} = 66\,677\,888. \]36RegionalNumber theorySerbia 2023In a school there are \(2023\) pupils and \(2023\) lockers, the lockers bearing the numbers \(1, 2, \ldots, 2023\). At the start every locker is closed. The pupils file past the lockers one after another …37CityNumber theorySerbia 2014Find all solutions of the equation \[ 6\left(6a^{2} + 3b^{2} + c^{2}\right) = 5d^{2} \] in integers \(a\), \(b\), \(c\), \(d\).38CityNumber theorySerbia 2017Solve the equation \[ 12^{x} + 10^{y} = 7102^{z} \] in the set of natural numbers.39CityNumber theorySerbia 2026Find all natural numbers that are powers of \(3\) and whose representation in base \(12\) contains only the digits \(6\) and \(9\).40CityNumber theorySlovenia 2022Find all pairs of natural numbers \(a\) and \(b\) that satisfy the equation \[ a^2 - 5ab + 24 = 0 . \]41RegionalNumber theorySlovenia 2014One digit of the seven-digit number \(2345678\) is to be deleted, so that the six-digit number left behind is divisible by \(9\). Which digit must it be? A \(8\) B \(7\) C \(6\) D \(5\) E \(4\)42RegionalNumber theorySerbia 1995Prove that a positive integer whose decimal representation uses no digits other than \(2\) and \(6\) cannot be written as a difference of the squares of two integers.43RegionalNumber theorySerbia 1996Find all natural numbers \(n\) for which the fraction \[ \frac{2n+3}{5n+7} \] can be reduced, that is, for which its numerator and denominator have a common divisor greater than \(1\).44RegionalNumber theorySerbia 2003Let \(k\) be a positive integer. Prove that the number \[ 2^{2k-1} + 2^{k} + 1 \] is never divisible by \(7\).45RegionalNumber theorySerbia 2007Determine the remainder left by the number \[ 3^{1000} + 4^{1000} \] when it is divided by \(13\).46RegionalNumber theorySerbia 2010Let \(x\), \(y\) and \(z\) be positive integers satisfying both \[ x^{3} - y^{3} - z^{3} = 3xyz \qquad \text{and} \qquad x^{2} = 2(y + z). \] Determine the value of \(x + y + z\).47CityNumber theorySlovenia 2004Nika and Tim played a series of card games. A draw was impossible. They agreed in advance that after each game the winner receives more points than the loser and that the loser receives a positive number …48RegionalNumber theorySlovenia 2015Lili noticed that the digits of the year \(2015\) have average \(2\), because \(\frac{2+0+1+5}{4} = 2\). How many years of the 21st century after \(2015\) have the same digit average as \(2015\)? A \(1\) …49RegionalNumber theorySerbia 1996Find every pair of integers \(x\) and \(y\) satisfying \[ 2\left(x^2 + y^2\right) = 5\left(xy + 1\right) . \]50RegionalNumber theorySerbia 2002Let \(n\) be a natural number. Prove that \[ (n+1)^{3n} - n^{2n}(n+3)^n \] is divisible by \(3n+1\).51CityNumber theorySlovenia 2010Find all prime numbers \(p\), \(q\) and \(r\) for which \[ 15p + 7pq + qr = pqr . \]52CityNumber theorySlovenia 2018Show that the number \[ 2^{\,2n+3} + 3^{\,n+2}\cdot 7^{\,n} \] is divisible by \(17\) for every natural number \(n\).53CityNumber theorySlovenia 2023Find all integers \(n\) for which the number \[ \frac{9n+8}{n+7} \] is also an integer.54RegionalNumber theorySerbia 2004Does there exist a polynomial \(P\) with integer coefficients for which \[ \textbf{a)}\quad P(7) = 8 \ \text{ and } \ P(15) = 12; \qquad\qquad \textbf{b)}\quad P(8) = 7 \ \text{ and } \ P(12) = 15\,? \] …55CityNumber theorySlovenia 2003Let \(a\) and \(b\) be natural numbers, both greater than \(1\), such that \[ \sqrt{a\sqrt{a\sqrt{a}}} = b . \] What is the smallest possible value of the sum \(a + b\)?56RegionalNumber theorySlovenia 2014There are \(17\) girls and \(12\) boys on a playground. At least how many more children must arrive so that everybody present can then be divided into two groups of the same size, in such a way that each …57RegionalNumber theorySerbia 2001Find every triple \((x, y, z)\) of positive integers for which \[ xyz + xy + xz + yz + x + y + z = 2000 . \]58RegionalNumber theorySerbia 2011Do there exist positive integers \(a\), \(b\), \(c\) such that \[ 2010 = (a + b) \cdot (b + c) \cdot (c + a) \, ? \]59RegionalNumber theorySerbia 2013Solve the equation \[ x! + 76 = y^2 \] in the set of natural numbers.60RegionalNumber theorySerbia 2016Find every natural number \(n\) for which \[ 7 \cdot 2^n + 1 \] is a perfect square, that is, the square of an integer.61RegionalNumber theorySerbia 2018Let \(a\), \(b\) and \(c\) be positive integers for which both of the numbers \[ 24^{a} + 2^{b} + 2018^{c} \qquad \text{and} \qquad 10^{c} + 3^{a} + 2018^{b} \] are divisible by \(7\). Prove that the number …62RegionalNumber theorySerbia 2021Find the smallest natural number \(n\) for which there exist natural numbers \(a\) and \(b\) whose digit sums are \(28\) and \(21\) respectively, and \[ a + b = \underbrace{11\ldots1}_{n}. \]63CityNumber theorySlovenia 2024Find all pairs of integers \(a\) and \(b\) satisfying \[ 4a - 2b + 22ab^2 - 11b^3 = 2024 . \]64RegionalNumber theorySerbia 1997It is known that \[ 35! = 10333147966386144929\,ab\,6651337523200000000 , \] where the letters \(a\) and \(b\) stand for two unknown decimal digits. Determine these two digits.65CityNumber theorySlovenia 2007The edge of a wooden cube is a natural number \(a > 2\). The cube is painted all over and then cut into unit cubes. It turns out that the number of unit cubes with exactly two painted faces divides the …66RegionalNumber theorySerbia 2003Find all pairs of integers \(m\) and \(n\) satisfying \[ 2m^{2} + n^{2} = 2mn + 3n . \]67CityNumber theorySlovenia 2009Find all rational numbers \(r\) and all integers \(k\) that satisfy \[ r\bigl(5k - 7r\bigr) = 3 . \]68CityNumber theorySlovenia 2021Find every integer \(n\) that can be written in the form \[ n = \frac{m+2021}{2021-m}, \] where \(m\) is an integer.69RegionalNumber theorySerbia 1998Find all composite natural numbers \(n\) which do not divide the product of all natural numbers smaller than \(n\), that is, all composite \(n\) for which \[ n \nmid 1 \cdot 2 \cdot 3 \cdots (n-1) . \] …70RegionalNumber theorySerbia 2005Let \(x\) and \(y\) be integers such that \(90\) divides \(x^{2} + xy + y^{2}\). Prove that then \(900\) divides \(xy\).71RegionalNumber theorySerbia 2006Find the largest positive integer that is smaller than the sum of the squares of its decimal digits.72RegionalNumber theorySerbia 2012Consider the polynomials \[ p(x) = x^3 + x^2 + x + 2 , \qquad q(x) = x^3 - x + 3 . \] Does there exist an integer \(m\) such that \(q(m)\) divides \(p(m)\)?73RegionalNumber theorySerbia 2015For a natural number \(n\), let \(P(n)\) denote the product of all digits of \(n\). Find every natural number \(n\) satisfying \[ n = P(n) + 18 . \]74CityNumber theorySlovenia 2025Find all three-digit numbers \(\overline{abc}\) that are divisible by \(9\) and satisfy \[ \overline{abc} = a^6 + b^2 + c^3, \] where \(a\), \(b\), \(c\) denote the digits of the number.

Showing 74 of 651 - problem statements are free for everyone.