Use app×
QUIZARD
QUIZARD
JEE MAIN 2026 Crash Course
NEET 2026 Crash Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
0 votes
3.7k views
in Olympiad by (65.3k points)

Find the numbers of all 5-digit numbers (in base 10) each of which contains the block 15 and is divisible by 15. (for example, 31545,34155 are two such numbers.)

1 Answer

+1 vote
by (71.0k points)
selected by
 
Best answer

Explanation:

Any such number should be both divisible by 5 and 3.The last digit of a number divisible by 5 must be either 5 or 0. Hence any such number falls into one of the following seven categories:

 (i) abc15; (ii) ab150; (iii) ab155; (iv) a15b0; (v)a15b5; (vi) 15ab0; (vii) 15ab5. 

Here a, b, c are digits. Let us count how many numbers of such category are there. 

(i) In this case a ≠ 0, and the 3-digit number abc is divisible by 3, and hence one of the numbers in the set {102,105,……..,999}.This gives 300 numbers . 

(ii) Again a number of the form ab150 is divisible by 15 if and only if the 2- digit number ab is divisible by 3. Hence it must be from the set {12,15,…….,99}. There are 30 such numbers. 

(iii) As in (ii),here are again 30 numbers. 

(iv) Similarly to (ii) ; 30 numbers. 

(v) Similarly to (ii) ; 30 numbers. 

(vi) We can begin the analysis of the number of the form 15ab0 as in (ii). Here again ab as a 2-digit number must be divisible by 3, but a=0 is also permissible. Hence it must be form the set {00, 03, 06,…….,99}. There are 34 such numbers.

(vii) Here again there are 33 numbers; ab must be form of the {01,04,07,…….,97}. Adding all thee we get 300 + 30 + 30 + 30 + 30 + 34 + 33 = 487 numbers. 

However this is not the correct figure as there is over counting. Let us see how much over counting is done by looking at the intersection of each pair of categories. A number in (i) obviously cannot lie in (ii), (iv) or (vi) as is evident from the last digit. There cannot be a common number in (i) and (iii) as any two such numbers differ in the 4-th digit. If a number belongs to both (i) and (v), then such a number of the form a1515.This is divisible by 3 only for a = 3, 6, 9. Thus there are 3 common numbers in (i) and (ii). A number which is both in (i) and (vii) is of the form 15c15 and divisibility by 3 gives c = 0, 3, 6, 9; thus we have 4 numbers common in (i) and (vii). That exhaust all possibilities with (i). 

Now (ii) can have common numbers with only categories (iv) and (vi).There are no numbers common between (ii) and (vi) as evident from 3-rd digit .There is only one number common to (ii) and (vi) ,namely 15150 and this is divisible by 3. There is nothing common to (iii) and (v) as can be seen from the 3-rd digit .The only number common to (iii) and (vii) is 15155 and this is not divisible by 3.It can easily be inferred that no number is common to (iv) and (vi) by looking at the 2-nd digit. Similarly no number is common to (v) and (vii). Thus there are 3+4+1=8 numbers which are counted twice. 

We conclude that the number of 5-digit numbers which contain the block is 15 divisible by 15 is 487 – 8 = 479.

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

Categories

...