#P01 · Probability, Statistics & AI · Lv.1View in 3D Mind-Map
Permutations & Combinations
Blaise Pascal & Pierre de Fermat · 1654 CE
Counts ordered arrangements (permutations) and unordered selections (combinations) of r items from n distinct objects.
🧮 Live Formula Calculator & Plotter
Total items n
Chosen items r
조합 10C3 (순서 무시)
120
순열 10P3 (순서 고려)
720
중복 배수 r! = 3!
6
Prerequisite Path (3 STEP)
Full Path AnalyzerClick steps in order to follow the 3D neon path from basics to target.
STEP 1#A01Linear Equation & Balance Axiom
STEP 2#A02Polynomial Expansion & Factoring
STEP 3#P01Permutations & Combinations
🚀 Next Unlocks (Derived Formulas) (2)
Geometric & Intuitive Insight
순열에서 선택된 r개가 내부적으로 줄 서는 경우의 수(r!)로 나누어 순서의 중복을 제거하면 조합이 됩니다.
Step-by-Step Derivation
- Step 1.첫 번째 자리부터 r번째 자리까지 차례로 선택하는 경우의 수: n × (n-1) × ... × (n-r+1) = n! / (n-r)!
- Step 2.뽑힌 r개의 원소가 서로 순서를 바꾸는 경우의 수 r!가 조합에서는 모두 동일한 사건이므로 r!로 나눕니다.
- Step 3.따라서 nCr = nPr / r! = n! / (r!(n-r)!)
AI & Coding Real-World Use
Used in algorithm search-space complexity analysis, hyperparameter grid search sizing, and feature subset selection.
#Combinatorics#Search Space#Algorithm Complexity#Feature Selection
const nCr = (n, r) => Array.from({length: r}, (_, i) => (n - i) / (i + 1)).reduce((a, b) => a * b, 1);Probability, Statistics & AI — Related Formulas in This Cluster
Conditional Probability & Chain Rule
Lv.2 · LLM Next-Token
Bayes' Theorem
Lv.3 · Spam Filter
Expected Value & Variance
Lv.2 · Reinforcement Learning
Binomial Distribution
Lv.2 · A/B Testing
Normal (Gaussian) Distribution & Z-Score
Lv.3 · Diffusion Models
Central Limit Theorem & Confidence Intervals
Lv.4 · Mini-Batch SGD