🎲 Tính tổ hợp, chỉnh hợp, giai thừaCombinations & Permutations Calculator
Tính n!, chỉnh hợp, tổ hợp, chỉnh hợp lặp, tổ hợp lặp với số nguyên lớn chính xác tuyệt đối, kèm tam giác Pascal.Compute n!, permutations, combinations, and the versions with repetition using exact big integers, plus Pascal’s triangle.
Đang tải công cụ… / Loading…
Khi nào dùng công thức nào?
| Có thứ tự | Không thứ tự | |
|---|---|---|
| Không lặp | Chỉnh hợp $A_n^k = \frac{n!}{(n-k)!}$ | Tổ hợp $C_n^k = \frac{n!}{k!(n-k)!}$ |
| Được lặp | $n^k$ | $C_{n+k-1}^k$ |
Ví dụ: chọn lớp trưởng và lớp phó từ 30 bạn là chỉnh hợp $A_{30}^2 = 870$; chọn 2 bạn đi trực nhật là tổ hợp $C_{30}^2 = 435$.
Which formula?
| Order matters | Order doesn’t matter | |
|---|---|---|
| No repetition | Permutations $P(n,k) = \frac{n!}{(n-k)!}$ | Combinations $\binom nk = \frac{n!}{k!(n-k)!}$ |
| With repetition | $n^k$ | $\binom{n+k-1}{k}$ |
Example: choosing a president and a vice-president from 30 students is $P(30,2) = 870$; choosing 2 students for a task is $\binom{30}{2} = 435$.