Skip to content / Đến nội dung
ThichHocToan.com

MathNet 2018-part-02 — 181 problems (EN–VI) Question 162

Math Olympiad Vault · MathNet 2018-part-02 — 181 problems (EN–VI)

Question 162

The integers $1, 2, \ldots, 2018$ are written on the board. We then perform 2017 operations as follows: choose two numbers $a$ and $b$, erase them, and write $a + b + 2ab$ in their place. At the end, only one integer remains on the board.
What values can its units digit take?