From a547b7169b6db11d13a9b737c30fe1def55f994e Mon Sep 17 00:00:00 2001
From: Paul Duncan <pabs@pablotron.org>
Date: Sat, 19 Nov 2022 17:06:00 -0500
Subject: add articles/combinations-and-permutations.md

---
 .../combinations-and-permutations/formulas.tex         | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 static/files/articles/combinations-and-permutations/formulas.tex

(limited to 'static/files/articles/combinations-and-permutations/formulas.tex')

diff --git a/static/files/articles/combinations-and-permutations/formulas.tex b/static/files/articles/combinations-and-permutations/formulas.tex
new file mode 100644
index 0000000..b7a67ec
--- /dev/null
+++ b/static/files/articles/combinations-and-permutations/formulas.tex
@@ -0,0 +1,18 @@
+\begin{array}{|l|c|c|c|}
+\hline
+    \text{Name} &
+    \text{Ordered} &
+    \text{With Repetition} &
+    \text{Without Repetition} \\
+\hline
+    \text{Permutation} &
+    \text{Yes} &
+    n^k & 
+    \frac{n!}{(n - k)!} \\
+\hline
+    \text{Combination} &
+    \text{No} &
+    {n + k - 1 \choose k} &
+    {n \choose k} \\
+\hline
+\end{array}
-- 
cgit v1.2.3

