Medium INTEGER +4 / -1 PYQ · JEE Mains 2021

The number of 4-digit numbers which are neither multiple of 7 nor multiple of 3 is ____________.

Answer (integer) 5143

Solution

A = 4-digit numbers divisible by 3<br><br>A = 1002, 1005, ....., 9999.<br><br>9999 = 1002 + (n $-$ 1)3<br><br>$\Rightarrow$ (n $-$ 1)3 = 8997 $\Rightarrow$ n = 3000<br><br>B = 4-digit numbers divisible by 7<br><br>B = 1001, 1008, ......., 9996<br><br>$\Rightarrow$ 9996 = 1001 + (n $-$ 1)7<br><br>$\Rightarrow$ n = 1286<br><br>A $\cap$ B = 1008, 1029, ....., 9996<br><br>9996 = 1008 + (n $-$ 1)21<br><br>$\Rightarrow$ n = 429<br><br>So, no divisible by either 3 or 7<br><br>= 3000 + 1286 $-$ 429 = 3857<br><br>total 4-digits numbers = 9000<br><br>required numbers = 9000 $-$ 3857 = 5143

About this question

Subject: Mathematics · Chapter: Sequences and Series · Topic: Arithmetic Progression

This question is part of PrepWiser's free JEE Main question bank. 209 more solved questions on Sequences and Series are available — start with the harder ones if your accuracy is >70%.

Drill 25 more like these. Every day. Free.

PrepWiser turns these solved questions into a daily practice loop. Chapter-wise drills, full mocks, AI doubt chat. No auto-renew.

Start free →