How many two-digit numbers are divisible by $3$? (Also find how many three-digit numbers are divisible by $7$.)
Step-by-Step Solution
- Two-digit numbers divisible by $3$: $12, 15, \dots, 99$. $99 = 12 + (n - 1)3 \implies \mathbf{n = 30}$.
- Three-digit numbers divisible by $7$: $105, 112, \dots, 994$. $994 = 105 + (n - 1)7 \implies \mathbf{n = 128}$.