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

MathNet 2004 — Part 01 Question 167

Math Olympiad Vault · MathNet 2004 — Part 01

Question 167

Let $p$ and $q$ be two coprime positive integers, and let $n$ be a nonnegative integer. Determine the number of integers that can be written in the form $ip + jq$, where $i$ and $j$ are nonnegative integers with $i + j \le n$. (posed by Li Weigu)