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

MathNet 2002 — Part 02 Question 118

Math Olympiad Vault · MathNet 2002 — Part 02

Question 118

Call a positive integer "mild" if its base-3 representation never contains the digit $2$. How many values of $n$ ($1 \leq n \leq 1000$) have the property that $n$ and $n^{2}$ are both mild?