Sep 14, 2024
M
ways and another in N
ways, they can occur together in M x N
ways.2 x 6 = 12
possible outcomes.nPr = n! / (n-r)!
, where n
is the total number of items and r
is the number of items to arrange.n!
): Product of all positive integers up to n
.7! = 5040
different ways.n! / (n1! x n2! x ... nk!)
, where n1, n2, ...
are the counts of non-unique items.S:3
, T:3
, I:2
). Different arrangements can be calculated as 10! / (3! x 3! x 2!)
.nCr = n! / [r! (n-r)!]
nPr
, nCr
) to quickly compute permutations and combinations.n
(total number of items).PRB
(probability functions) and choose nPr
or nCr
depending on whether order matters.r
(number of items to select/arrange).