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.9. Generating functions

26 exercises: 26 with a written solution, 23 stated in Lean, 18 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.9 in your copy of the book. Then read the companion chapter Generating functions (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

The exercises of this section train the operations on generating functions: sums, products, derivatives, exponential series, roots of unity and the series of the Stirling numbers. They also train the use of a generating function to derive a closed form for a sum, and the symmetric functions hmh_m, eme_m and SjS_j. A good order by rating is 4, 9, 1, 2, 6, 7, 5, 12, 3, 14, 20, 22, 13, 16, 24, 8, 25, 10, 11, 17, 18, 15, 21, 19, 23 and 26.

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.9-4M01K1written checkednot stated yet
1.2.9-9M11K3written checkedproved
1.2.9-1M12K3written checkedproved
1.2.9-2M13K1written checkedproved
1.2.9-6HM15K3written checkedproved
1.2.9-7M15K1written checkedproved
1.2.9-5M20K1written checkedproved
1.2.9-12M20K3written checkedproved
1.2.9-3HM21K1written checkedproved
1.2.9-14HM21K1written checkedproved
1.2.9-20M21K3written checkedproved
1.2.9-22M21K3written checkedstated
1.2.9-13HM22K3written checkedstated
1.2.9-16M22K3written checkedproved
1.2.9-24M22K3written checkedproved
1.2.9-8M23K3written checkedproved
1.2.9-25M23K3written checkedproved
1.2.9-10M25K3written checkedproved
1.2.9-11M25K3written checkedstated
1.2.9-17M25K3written checkedproved
1.2.9-18M25K3written checkedproved
1.2.9-15M28K3written checkedproved
1.2.9-21HM30informalwritten checkednot stated yet
1.2.9-19HM32K1written checkedstated
1.2.9-23M33K3written checkedstated
1.2.9-26M40informalwritten checkednot stated yet

Something is wrong? Report it.