This website contains problems from math contests. Problems and corresponding tags were obtained from the Art of Problem Solving website.

Tags were heavily modified to better represent problems.

AND:
OR:
NO:

Found problems: 97

2004 Switzerland - Final Round, 8

A list of natural numbers is written on a blackboard. The following operation is performed and repeated: choose any two numbers $a, b$, wipe them out and instead write gcd$(a, b)$ and lcm$(a, b)$. Show that the content of the list no longer changed after a certain point in time.

1982 Austrian-Polish Competition, 1

Find all pairs $(n, m)$ of positive integers such that $gcd ((n + 1)^m - n, (n + 1)^{m+3} - n) > 1$.

2014 Costa Rica - Final Round, 3

Find all possible pairs of integers $ a$ and $ b$ such that $ab = 160 + 90 (a,b)$, where $(a, b)$ is the greatest common divisor of $ a$ and $ b$.

2019 Dutch BxMO TST, 4

Do there exist a positive integer $k$ and a non-constant sequence $a_1, a_2, a_3, ...$ of positive integers such that $a_n = gcd(a_{n+k}, a_{n+k+1})$ for all positive integers $n$?

2008 Thailand Mathematical Olympiad, 7

Two positive integers $m, n$ satisfy the two equations $m^2 + n^2 = 3789$ and $gcd (m, n) + lcm (m, n) = 633$. Compute $m + n$.

2010 China Northern MO, 7

Find all positive integers $x, y, z$ that satisfy the conditions: $$[x,y,z] =(x,y)+(y,z) + (z,x), x\le y\le z, (x,y,z) = 1$$ The symbols $[m,n]$ and $(m,n)$ respectively represent positive integers, the least common multiple and the greatest common divisor of $m$ and $n$.

2023 Austrian MO Regional Competition, 4

Determine all pairs $(x, y)$ of positive integers such that for $d = gcd(x, y)$ the equation $$xyd = x + y + d^2$$ holds. [i](Walther Janous)[/i]

2012 Bogdan Stan, 4

Prove that the elements of any natural power of a $ 2\times 2 $ special linear integer matrix are pairwise coprime, with the possible exception of the pairs that form the diagonals. [i]Vasile Pop[/i]

2020 LIMIT Category 2, 12

Tags: gcd , number theory , limit
Let $A$ be the set $\{k^{19}-k: 1<k<20, k\in N\}$. Let $G$ be the GCD of all elements of $A$. Then the value of $G$ is?

1998 Slovenia Team Selection Test, 4

Find all positive integers $x$ and $y$ such that $x+y^2+z^3 = xyz$, where $z$ is the greatest common divisor of $x$ and $y$

1984 Austrian-Polish Competition, 2

Let $A$ be the set of four-digit natural numbers having exactly two distinct digits, none of which is zero. Interchanging the two digits of $n\in A$ yields a number $f (n) \in A$ (for instance, $f (3111) = 1333$). Find those $n \in A$ with $n > f (n)$ for which $gcd(n, f (n))$ is the largest possible.

2018 Switzerland - Final Round, 2

Let $a, b$ and $c$ be natural numbers. Determine the smallest value that the following expression can take: $$\frac{a}{gcd\,\,(a + b, a - c)} + \frac{b}{gcd\,\,(b + c, b - a)} + \frac{c}{gcd\,\,(c + a, c - b)}.$$ . Remark: $gcd \,\, (6, 0) = 6$ and $gcd\,\,(3, -6) = 3$.

2024 Czech and Slovak Olympiad III A, 1

Tags: number theory , gcd , lcm
Let $a, b, c$ be positive integers such that one of the values $$gcd(a,b) \cdot lcm(b,c), \,\,\,\, gcd(b,c)\cdot lcm(c,a), \,\,\,\, gcd(c,a)-\cdot lcm(a,b)$$ is equal to the product of the remaining two. Prove that one of the numbers $a, b, c$ is a multiple of another of them.

2022 Kyiv City MO Round 2, Problem 4

Tags: combinatorics , gcd , game
Fedir and Mykhailo have three piles of stones: the first contains $100$ stones, the second $101$, the third $102$. They are playing a game, going in turns, Fedir makes the first move. In one move player can select any two piles of stones, let's say they have $a$ and $b$ stones left correspondently, and remove $gcd(a, b)$ stones from each of them. The player after whose move some pile becomes empty for the first time wins. Who has a winning strategy? As a reminder, $gcd(a, b)$ denotes the greatest common divisor of $a, b$. [i](Proposed by Oleksii Masalitin)[/i]

2015 Saudi Arabia BMO TST, 4

Let $n \ge 2$ be an integer and $p_1 < p_2 < ... < p_n$ prime numbers. Prove that there exists an integer $k$ relatively prime with $p_1p_2... p_n$ and such that $gcd (k + p_1p_2...p_i, p_1p_2...p_n) = 1$ for all $i = 1, 2,..., n - 1$. Malik Talbi

2022 Caucasus Mathematical Olympiad, 3

Tags: gcd , number theory
Pete wrote down $21$ pairwise distinct positive integers, each not greater than $1,000,000$. For every pair $(a, b)$ of numbers written down by Pete, Nick wrote the number $$F(a;b)=a+b -\gcd(a;b)$$ on his piece of paper. Prove that one of Nick’s numbers differs from all of Pete’s numbers.

2025 Bangladesh Mathematical Olympiad, P8

Let $a, b, m, n$ be positive integers such that $gcd(a, b) = 1$ and $a > 1$. Prove that if $$a^m+b^m \mid a^n+b^n$$then $m \mid n$.

2006 Thailand Mathematical Olympiad, 12

Let $a_n = 2^{3n-1} + 3^{6n-2} + 5^{6n-3}$. Compute gcd$(a_1, a_2, ... , a_{25})$

2015 Regional Competition For Advanced Students, 1

Tags: number theory , gcd
Determine all triples $(a,b,c)$ of positive integers satisfying the conditions $$\gcd(a,20) = b$$ $$\gcd(b,15) = c$$ $$\gcd(a,c) = 5$$ (Richard Henner)

2019 Nigerian Senior MO Round 3, 3

Show that $$5^{2019} \mid \Sigma^{5^{2019}}_{k=1}3^{gcd (5^{2019},k)}$$

2021 Durer Math Competition (First Round), 4

Determine all triples of positive integers $a, b, c$ that satisfy a) $[a, b] + [a, c] + [b, c] = [a, b, c]$. b) $[a, b] + [a, c] + [b, c] = [a, b, c] + (a, b, c)$. Remark: Here $[x, y$] denotes the least common multiple of positive integers $x$ and $y$, and $(x, y)$ denotes their greatest common divisor.

2019 Dutch IMO TST, 3

Let $n$ be a positive integer. Determine the maximum value of $gcd(a, b) + gcd(b, c) + gcd(c, a)$ for positive integers $a, b, c$ such that $a + b + c = 5n$.

2018 Peru Cono Sur TST, 8

Tags: gcd , number theory
For each pair of positive integers $m$ and $n$, we define $f_m(n)$ as follows: $$ f_m(n) = \gcd(n, d_1) + \gcd(n, d_2) + \cdots + \gcd(n, d_k), $$ where $1 = d_1 < d_2 < \cdots < d_k = m$ are all the positive divisors of $m$. For example, $f_4(6) = \gcd(6,1) + \gcd(6,2) + \gcd(6,4) = 5$. $a)\:$ Find all positive integers $n$ such that $f_{2017}(n) = f_n(2017)$. $b)\:$ Find all positive integers $n$ such that $f_6(n) = f_n(6)$.

2022 South Africa National Olympiad, 3

Tags: gcd , number theory
Let a, b, and c be nonzero integers. Show that there exists an integer k such that $$gcd\left(a+kb, c\right) = gcd\left(a, b, c\right)$$

2012 JBMO TST - Turkey, 2

Find all positive integers $m,n$ and prime numbers $p$ for which $\frac{5^m+2^np}{5^m-2^np}$ is a perfect square.