[Math] For how many positive values of $n$ are both $\frac n3$ and $3n$ four-digit integers

elementary-number-theory

For how many positive values of $n$ are both $\frac n3$ and $3n$ four-digit integers?

Any help is greatly appreciated. I think the smallest n value is 3000 and the largest n value is 3333. Does this make sense?

Best Answer

Your answer makes sense.

Minimum 4 digit number is $1000$

Maximum 4 digit number is $9999$

$$max = 3n = 9999$$

$$n_{max}=3333$$

$$min=\frac{n}{3}=1000$$

$$n_{min}=3000$$

Keep in mind that n must be divisible by 3. So, the answer would be: $$\frac{3333-3000}{3}+1=112$$

Related Question