Strings

How many natural numbers can you make from the set- { 1 , 3 , 5 , 7 } \{1,3,5,7\} such that no (formed) natural number has a repeated digit?

16 56 64 14

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Rajdeep Ghosh
May 18, 2017

Let's Generalize: Let's say we have a set - { a 1 , a 2 , a 3 , . . . , a n } \{a_1,a_2,a_3,...,a_n\} .

I am asked to find the no. of strings I can make from this set( without rep.). Let us break it down:

First we find the no. of 1-element strings. Obviously there are n-such strings.

Now, we find the no. of 2-element strings.Ex.- a 1 a 2 , a 2 a 1 , a 9 a 7 a_1a_2,a_2a_1,a_9a_7 etc. You might think the answer is ( n 2 ) \binom{n}{2} . Actually it is ( n 2 ) . 2 ! \binom{n}{2}.2! . That's because you need to take account of the permutations of each chosen string.

Similarly, no. of 3- element strings is ( n 3 ) . 3 ! \binom{n}{3}.3!

and so on.

So, for an n-element set, no. of strings without repetition is: ( n 1 ) . 1 ! + ( n 2 ) . 2 ! + ( n 3 ) . 3 ! + . . . + ( n n ) . n ! \binom{n}{1}.1!+\binom{n}{2}.2!+\binom{n}{3}.3!+...+\binom{n}{n}.n! .

In our problem, n = 4 n=4 so answer is 64.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...