Let S be the set of all passwords which are six to eight characters long, where each character is either an…

Let S be the set of all passwords which are six to eight characters long, where each character is either an alphabet from A,B,C,D,E or a number from 1,2,3,4,5 with the repetition of characters allowed. If the number of passwords in S whose at least one character is a number from 1,2,3,4,5 is α×56, then α is equal to

Solution

Given total available characters is 10 and total digits are 5,

So, for 6-digit password, the number of ways =106-56

For 7-digit password, the number of ways =107-57

For 8-digit password, the number of ways =108-58

  Total ways =106+107+108-56+57+58

=2656+2757+2858-56-57-58

=5626+5·27+25·28-1-5-25=7073·56

Now on comparing with α×56 we get α=7073

Asked in: JEE Main 2022 (28 Jul Shift 1)

Practice more Permutation Combination questions on Aicharya