Given a 10−digit number X = 1345789026
How many 10−digit number that can be made
using every digit from X, with condition:
If a number n is located in k^(th) position of X, then
the new created number must not contain
number n in k^(th) position
Example:
• Number 1 is located in 1^(st) position of X, hence
1234567890 is not valid, but 2134567890
is valid
• Number 5 and 0 are located in 4^(th) and 8^(th) position
of X, hence 9435162087 is not valid, but
9431506287 is valid.
• 1345026789 is not valid
• and so on...
|