Mathematics - Permutation & Combination Question with Solution | TestHub

MathematicsPermutation & CombinationnPr & nCrMedium2 minPYQ_2017
MathematicsMediumsingle choice

The number of times the digit5will be written when listing the integers from1to1000, is

Options:

Answer:
C
Solution:

Any number between 1 to 999 is of the form abc when 0a,b,c9. Let us first count the number in which 5 occurs exactly once.

Since, 5 can occur at one place in 1×C13×9×9=243 ways, next 5 can occur in exactly two places in C23×9=27.

Lastly, 5 can occur in all three digits in only one way.

Hence, the number of times 5 occurs

=1×243+27×2+1×3

=243+54+3=300

Stream:BITSATSubject:MathematicsTopic:Permutation & CombinationSubtopic:nPr & nCr
2mℹ️ Source: PYQ_2017

Doubts & Discussion

Loading discussions...