AI engineering glossary · Probability

What is factorial?

Factorial: The product of all whole numbers from 1 up to n, written n!, with 0! defined as 1. It counts the number of ways to arrange n distinct items and appears in the formulas for permutations, combinations and the Poisson distribution.

Level: beginnerTopic: Probability

Factorial: an example

5! = 5 x 4 x 3 x 2 x 1 = 120.

Related terms

More Probability terms

Where you learn it

Factorial is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.