taocp

This site has no text of the book. Keep your own copy of TAOCP next to it. See what is checked.

Learn · Volume 1 · in the Volume 1 course

Section 1.2.5. Permutations and factorials

25 exercises: 25 with a written solution, 25 stated in Lean, 21 proved in Lean.

1. Read first

The companion chapter builds on these. Read the ones you do not know yet.

2. Read the section

Read Section 1.2.5 in your copy of the book. Then read the companion chapter Permutations and factorials (a draft): it explains each item in the words of the handbook, with examples and proofs. The items of the section and their status.

3. Work the exercises

These exercises train three skills: counting with permutations and factorials, working with the gamma function through Euler's limit and the integral, and number theory with Wilson's theorem and Legendre's formula for the exponent of a prime in n!n!.

Start with the short ones (1, 2, 3, 7, 9, 4), then do 5, 8, 11, 15, 16, 6 and 10. Next take 17, 18, 22, 23, 25, 20, 24, 12 and 19. Leave 13, 21 and 14 for the end, since they need the most care. Exercise 14 builds on exercise 13.

From the Solutions volume of the handbook. The source.

The list starts with the lowest rating. Try each exercise on paper first. Its page has the hints one at a time, the solution behind a click, and the Lean status.

ExerciseRatingKindSolutionLean
1.2.5-100K3written checkedproved
1.2.5-210K1written checkedproved
1.2.5-310K3written checkedproved
1.2.5-7M10K1written checkedproved
1.2.5-9M10K3written checkedproved
1.2.5-4 recommended13K3written checkedproved
1.2.5-515K3written checkedproved
1.2.5-8HM15K1written checkedproved
1.2.5-11M15K1written checkedproved
1.2.5-15HM15K3written checkedproved
1.2.5-16HM15K1written checkedproved
1.2.5-6 recommended17K3written checkedproved
1.2.5-10 recommendedHM20K1written checkedproved
1.2.5-17HM20K1written checkedstated
1.2.5-18M20K1written checkedproved
1.2.5-22 recommendedHM20K1written checkedproved
1.2.5-23HM20K1written checkedproved
1.2.5-25M20K1written checkedproved
1.2.5-20HM21K1written checkedproved
1.2.5-24 recommendedHM21K1written checkedproved
1.2.5-12 recommendedM22K3written checkedproved
1.2.5-19HM22K1written checkedstated
1.2.5-13M23K1written checkedproved
1.2.5-21HM25K1written checkedstated
1.2.5-14 recommendedM28K1written checkedstated

Something is wrong? Report it.