Combinatorics

1003024611

Level: 
A
On a lock of a safe deposit box a ten-digit code can be set. The code can consist only of four \( 1 \)s, three \( 2 \)s, two \( 3 \)s, and one \( 4 \). How many ways are there to set the code?
\( \frac{10!}{4!\cdot3!\cdot2!} = 12\:600 \)
\( \frac{10!}{4!+3!+2!}=113\:400 \)
\( 10!-4!\cdot3!\cdot5!=3\:628\:512 \)
\( 10! = 3\:628\:800 \)

1003024610

Level: 
A
In a high-speed train set, there should be the following cars included: \( 3 \) first class cars, \( 5 \) second class cars, \( 2 \) sleeping cars, \( 1 \) dining car, and \( 2 \) luggage cars. How many ways are there to arrange the cars in this high-speed train set?
\( \frac{13!}{(2!)^2\cdot3!\cdot5!}=2\:162\:160 \)
\( \frac{13!}{(2!)^2+3!+5!}=47\:900\:160 \)
\( 13!-(2!)^2\cdot3!\cdot5!=6\:227\:017\:920 \)
\( 13!-\left|(2!)^2+3!+5!\right|=6\:227\:020\:670 \)