Explore the Mathbee Test Series with free chapter PYQs, NTA-style Booster mocks, paid shift-wise PYPs and focused performance analytics.
Paste your question to our Mathbee AI Mentor below to get an instant step-by-step solution.
Step 1: For $\gcd(N,18)=3$, $N$ must be divisible by 3, odd, and not divisible by 9. Count odd four-digit multiples of 3, then subtract those divisible by 9.
Step 2: Odd multiples of 3 range from 1005 to 9999 with step 6, giving $(9999-1005)/6+1=1500$. Odd multiples of 9 range from 1017 to 9999 with step 18, giving $(9999-1017)/18+1=500$.
Step 3: The difference is $1500-500=1000$ numbers.
Confused by the solution? Ask the AI to explain a specific step, tell you where you went wrong, or break down the key trap in this question.
Explore the Mathbee Test Series with free chapter PYQs, NTA-style Booster mocks, paid shift-wise PYPs and focused performance analytics.