# TAOCP 7.2.1.7 History and Further References

> Study guide to 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…

Updated October 20, 2026.

## Summary {#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.

## Key facts {#key-facts}

- Week 133 of 145 on the cracked.guide path, in [TAOCP Vol 4A: Combinatorial Algorithms, Part 1](https://cracked.guide/taocp/volume-4a).
- Time budget: about 4 hours.
- 32 exercises in the section, rated 10 to M40; the guide picks 7.
- Picked exercises with Knuth's triangle for recommended: 14, 24, 28, 29 and 8.
- Before you start: 7.2.1.1 to 7.2.1.6.

## Week 133 goals {#objectives}

By the end of week 133 you can:

- Recognize early combinatorial patterns like hexagrams and Genji-ko diagrams.
- Compare old lists of patterns with modern systematic generation orders.
- Use your Volume 4A generators to pick the right one for a task.

## This week's steps {#steps}

- Read §7.2.1.7 History and Further References: Read for enjoyment: it is the story of how people generated combinatorial patterns long before computers.
- Work the exercises (7 picked): 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.

## Exercises {#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:

- 14 (rated 20, recommended): Continue a 16th century list of three-letter combinations and spot its order.
- 16 (rated 20): Generate compositions with bounded parts, as Narayana did in 1356.
- 18 (rated 10): A trick question about the year 1666.
- 24 (rated 23, recommended): Figure out Honda's recursive rule for set partitions from its output.
- 28 (rated 25, recommended): Find Wallis's ordering of factorizations and judge it.
- 29 (rated 24, recommended): Apply Wallis's method to a product of five primes.
- 8 (rated M27, recommended): Patch Seki's 17th century permutation procedure so it is correct. The stretch.

## Why it matters {#why}

A genuinely fun read that shows these ideas are old and human.

## Before you start {#before}

- 7.2.1.1 to 7.2.1.6

## How to approach it {#approach}

Read for enjoyment: it is the story of how people generated combinatorial patterns long before computers. Work the exercises the advice points to.

## Links {#links}

- [Knuth's TAOCP page (editions, errata, MIX/MMIX)](https://www-cs-faculty.stanford.edu/~knuth/taocp.html)
- [Vol 4A errata (plain text, from Knuth)](https://www-cs-faculty.stanford.edu/~knuth/err4a.textxt)
- [Wikipedia: Change ringing](https://en.wikipedia.org/wiki/Change_ringing)

---

Source: https://cracked.guide/guide/knuth-w115-0
cracked.guide: A free, dated 145-week path to getting genuinely cracked at programming.
