How many $3$-digit counting numbers are exactly divisible by $6$ but not exactly divisible by $9$? I was able to find the answer for $6$ using the formula $T_n=a+(n-1)d$ but not sure how to find the answer for $9$.
2026-04-15 03:15:24.1776222924
On
Counting 3-digit integers divisible by 6 but not by 9
5k Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
2
There are 2 best solutions below
0
On
The arithmetic sequence of all 3-digit numbers divisible by 6 is $(102+6n)$ where $n=0,1,\dots,149$.
You want to remove numbers divisible by 9, so you want $9\nmid 102+6n$ what is equivalent to $3\nmid 2n+1$, so remove terms of the sequence $(3i+1)$, where $i=0,1,\dots,49$.
There are $150-50=100$ good numbers.
Let us count all three digit numbers which are divisible by six.
There are $\lfloor\frac{999}{6}\rfloor - \lfloor\frac{99}{6}\rfloor$ numbers between $100$ and $999$ (i.e. three digit numbers) which are divisible by six.
How many of these are "bad" and are divisible by nine as well? Well, these would be those numbers which are divisible by six and by nine. In other words, the ones that are divisible by $18$.
$\lfloor\frac{999}{18}\rfloor - \lfloor\frac{99}{18}\rfloor$ of them are bad.
Subtracting and computing the necessary arithmetic will give a final answer.
This answer makes use of the fact that the number of integers between $1$ and $n$ which are divisible by $k$ is $\lfloor\frac{n}{k}\rfloor$, implying that the number of integers between $m$ and $n$ with $m<n$ which are divisible by $k$ will be $\lfloor\frac{n}{k}\rfloor - \lfloor\frac{m-1}{k}\rfloor$