TAOCP Vol 4A: Combinatorial Algorithms, Part 1 · Week 133
TAOCP 7.2.1.7 History and Further References
Updated
Summary
TAOCP 7.2.1.7 History and Further References: About 25 pages of history of combinatorial generation: the I Ching, early Indian work on poetic meters, Arabic and medieval European lists of permutations and combinations, Ramon Llull, and more. Budget about 4 hours; do exercises 14, 16 and 18.
About 25 pages of history of combinatorial generation: the I Ching, early Indian work on poetic meters, Arabic and medieval European lists of permutations and combinations, Ramon Llull, Japanese work including Seki and the genji-ko diagrams for set partitions, and the 17th and 18th century authors (Wallis, de Moivre and others) who first wrote down systematic orders. Many of the exercises ask you to find errors in the old lists.
This week's steps
3 stepsRead §7.2.1.7 History and Further References
Read for enjoyment: it is the story of how people generated combinatorial patterns long before computers.
Start with Ex 14, Ex 16, Ex 18; log what you solve below.
Write down one thing you'd explain to someone
A few sentences in your own words in Your notes: the idea, why it works, an example. 30 words ticks this.
Sign in to track this: tick each step off and it counts toward your week.
Exercises
Unlike most history sections, 7.2.1.7 has a real exercise set: 32 exercises, rated 10 to M40, with 10 marked by the triangle. Many ask you to check or fix historical lists, which is a good test of the generation algorithms you just learned.
Worth your time
Exercise 8M27▶ Recommended
Patch Seki's 17th century permutation procedure so it is correct. The stretch.
Exercise 1420▶ Recommended
Continue a 16th century list of three-letter combinations and spot its order.
Exercise 2423▶ Recommended
Figure out Honda's recursive rule for set partitions from its output.
Your log
Sign in to log the exercises you work: number, rating, how far you got.
Your notes
Only youSign in to keep private notes on this guide, in Markdown. They stay yours: never on your profile, and you can export them all.
Discussion
0 postsQuestions about the reading go here; each exercise has its own thread below. Hints over answers.
No posts yet. Ask a question or share a tip.
Sign in to postAnyone can read. Posting needs an account with a confirmed email.
Exercise threads
One thread per exercise. Open one to ask for a nudge or check your thinking.
Exercise 8M27No posts yet
Hints over answers. Say what you tried; put an answer or a full solution inside a spoiler:
||like this||or a```spoilerblock.Sign in to postAnyone can read. Posting needs an account with a confirmed email.
Exercise 1420No posts yet
Hints over answers. Say what you tried; put an answer or a full solution inside a spoiler:
||like this||or a```spoilerblock.Sign in to postAnyone can read. Posting needs an account with a confirmed email.
Exercise 1620No posts yet
Hints over answers. Say what you tried; put an answer or a full solution inside a spoiler:
||like this||or a```spoilerblock.Sign in to postAnyone can read. Posting needs an account with a confirmed email.
Exercise 1810No posts yet
Hints over answers. Say what you tried; put an answer or a full solution inside a spoiler:
||like this||or a```spoilerblock.Sign in to postAnyone can read. Posting needs an account with a confirmed email.
Exercise 2423No posts yet
Hints over answers. Say what you tried; put an answer or a full solution inside a spoiler:
||like this||or a```spoilerblock.Sign in to postAnyone can read. Posting needs an account with a confirmed email.
Exercise 2825No posts yet
Hints over answers. Say what you tried; put an answer or a full solution inside a spoiler:
||like this||or a```spoilerblock.Sign in to postAnyone can read. Posting needs an account with a confirmed email.
Exercise 2924No posts yet
Hints over answers. Say what you tried; put an answer or a full solution inside a spoiler:
||like this||or a```spoilerblock.Sign in to postAnyone can read. Posting needs an account with a confirmed email.
Reference
Why it matters
A genuinely fun read that shows these ideas are old and human.
Before you start
- 7.2.1.1 to 7.2.1.6
How to approach it
Read for enjoyment: it is the story of how people generated combinatorial patterns long before computers. Work the exercises the advice points to.