階乗 $n!$ の定義
定義(階乗)
自然数 $n$ に対して, $n$ の階乗 $n!$ を
$n! = n \cdot (n-1) \cdot \cdots \cdot 2 \cdot 1$
と定める.
また, $0!=1$ と定める.
たとえば,
$1!$ $=1$,
$2!$ $=2 \cdot 1$ $=2$,
$3!$ $=3 \cdot 2 \cdot 1$ $=6$
です。
定義(階乗)
自然数 $n$ に対して, $n$ の階乗 $n!$ を
$n! = n \cdot (n-1) \cdot \cdots \cdot 2 \cdot 1$
と定める.
また, $0!=1$ と定める.
たとえば,
$1!$ $=1$,
$2!$ $=2 \cdot 1$ $=2$,
$3!$ $=3 \cdot 2 \cdot 1$ $=6$
です。