AMC / AIME · Inclusion-Exclusion · AIME / USAJMO / AMO

Inclusion-Exclusion: (Proof track.) Derive the derangement formula math and enter math.

Unions without double-counting.

Try the problem

**(Proof track.)** Derive the derangement formula !n=n!∑k=0n(−1)k/k!!n=n!\sum_{k=0}^{n}(-1)^k/k! and enter !7!7.

Hint and answer

Concept to use

Full PIE.

Hint

Standard value.

Answer

1854

More Inclusion-Exclusion problems

Practice more with the free Inclusion-Exclusion worksheet generator, or browse the full problem library.