From 5ab8a5088b729a9953b8dff1b2a985dc8fb2098b Mon Sep 17 00:00:00 2001
From: mzuenni <michi.zuendorf@gmail.com>
Date: Mon, 27 Jun 2022 17:19:28 +0200
Subject: updated tcr

---
 math/tables/twelvefold.tex | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 math/tables/twelvefold.tex

(limited to 'math/tables/twelvefold.tex')

diff --git a/math/tables/twelvefold.tex b/math/tables/twelvefold.tex
new file mode 100644
index 0000000..7f7e27a
--- /dev/null
+++ b/math/tables/twelvefold.tex
@@ -0,0 +1,32 @@
+\begin{expandtable}
+\begin{tabularx}{\linewidth}{|C|CICICIC|}
+	\hline
+	Bälle & identisch & verschieden & identisch      & verschieden \\
+	Boxen & identisch & identisch      & verschieden & verschieden \\
+	\hline
+	-- &
+	$p_k(n + k)$ &
+	$\sum\limits_{i = 0}^k \stirlingII{n}{i}$ &
+	$\binom{n + k - 1}{k - 1}$ &
+	$k^n$ \\
+	\grayhline
+
+	\makecell{Bälle pro\\Box $\geq 1$} &
+	$p_k(n)$ &
+	$\stirlingII{n}{k}$ &
+	$\binom{n - 1}{k - 1}$ &
+	$k! \stirlingII{n}{k}$ \\
+	\grayhline
+
+	\makecell{Bälle pro\\Box $\leq 1$} &
+	$[n \leq k]$ &
+	$[n \leq k]$ &
+	$\binom{k}{n}$ &
+	$n! \binom{k}{n}$ \\
+	\hline
+	\multicolumn{5}{|l|}{
+		$[\text{Bedingung}]$: \lstinline{return Bedingung ? 1 : 0;}
+	} \\
+	\hline
+\end{tabularx}
+\end{expandtable}
\ No newline at end of file
-- 
cgit v1.2.3

