MathDB
22 coins

Source: Kosovo Mathematical Olympiad 2022, Grade 9, Problem 1

March 6, 2022
combinatorics

Problem Statement

Ana has 2222 coins. She can take from her friends either 66 coins or 1818 coins, or she can give 1212 coins to her friends. She can do these operations many times she wants. Find the least number of coins Ana can have.