fix: ajout de la ligne et colonne 0
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Bertrand Benjamin 2020-12-02 15:04:29 +01:00
parent bf6501746c
commit db6fcbec69
2 changed files with 10 additions and 8 deletions

View File

@ -17,7 +17,7 @@
\begin{bclogo}[barre=none, arrondi=0.1, logo=]{Définition}
Soit $n$ et $k$ deux entiers naturels tels que $0 \leq k \leq n$.
\textbf{Le coefficient binomial} $\coefBino{n}{k}$, se lit "$k$ parmi $n$", et le nombre de façon d'obtenir $k$ succès quand on fait $n$ répétitions.
\textbf{Le coefficient binomial} $\coefBino{n}{k}$, se lit "$k$ parmi $n$", est le nombre de façon d'obtenir $k$ succès quand on fait $n$ répétitions ou encore le nombre de chemin avec $k$ succès dans un arbre avec $n$ étages.
Par convention, $\coefBino{0}{0} = 1$.
\end{bclogo}
@ -33,19 +33,21 @@
Il est possible de calculer ces coefficients binomiaux grâce au triangle de Pascale.
\begin{center}
\begin{tabular}{|*{6}{c|}}
\begin{tabular}{|*{7}{c|}}
\hline
n \verb|\| k & 1 & 2 & 3 & 4 & 5 \\
n \verb|\| k & 0 & 1 & 2 & 3 & 4 & 5 \\
\hline
1 & & & & & \\
0 & & & & & & \\
\hline
2 & & & & & \\
1 & & & & & & \\
\hline
3 & & & & & \\
2 & & & & & & \\
\hline
4 & & & & & \\
3 & & & & & & \\
\hline
5 & & & & & \\
4 & & & & & & \\
\hline
5 & & & & & & \\
\hline
\end{tabular}
\end{center}