返回计算器中心
Permutation & Combination 计算器
数学nCr10
Permutation & Combination 计算器
Counting is a core skill in probability and combinatorics. This Permutation & Combination 计算器 helps compute selections (combinations) and order-aware arrangements (permutations) using standard formulas. Use it to validate homework and simplify reasoning for event counting.
使用方法
- Enter total items n.
- Enter selection size r.
- Choose combinations (order does not matter) or permutations (order matters).
- Review the computed value for probability and counting questions.
背后的逻辑 / 公式
Combinations: nCr = n! / (r!(n−r)!). Permutations: nPr = n! / (n−r)!. Factorial notation uses !.
实际示例
- nCr with n=5 and r=2 gives 10 distinct selections.
- nPr with n=5 and r=2 gives 20 ordered arrangements.
- When r=0, combinations typically return 1 and permutations return 1.
常见问题
When should I use combinations vs permutations?
Use combinations when order does not matter (selecting a group). Use permutations when order matters (arranging or ranking).
What if r equals n?
For combinations, nCn equals 1. For permutations, nPn equals n! since all items are arranged.
Why do factorials get large quickly?
Factorials grow super fast. Big-number support or logarithmic math can help keep calculations feasible.
