TAOCP Vol 4A: Combinatorial Algorithms, Part 1 · Week 133

TAOCP 7.2.1.7 History and Further References

Updated

About 4 hours32 exercises, rated 10 to M40

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.

Flashcards 12 cards for Anki and AnkiMobile · all decks

Anki deck.tsv

This week's steps

3 steps
  1. 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.

  2. Work the exercises (7 picked)

    Start with Ex 14, Ex 16, Ex 18; log what you solve below.

  3. 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.

    Discuss

  • Exercise 1420▶ Recommended

    Continue a 16th century list of three-letter combinations and spot its order.

    Discuss

  • Exercise 1620

    Generate compositions with bounded parts, as Narayana did in 1356.

    Discuss

  • Exercise 1810

    A trick question about the year 1666.

    Discuss

  • Exercise 2423▶ Recommended

    Figure out Honda's recursive rule for set partitions from its output.

    Discuss

  • Exercise 2825▶ Recommended

    Find Wallis's ordering of factorizations and judge it.

    Discuss

  • Exercise 2924▶ Recommended

    Apply Wallis's method to a product of five primes.

    Discuss

Your log

Sign in to log the exercises you work: number, rating, how far you got.

Your notes

Only you

Sign 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 posts

Questions 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 ```spoiler block.

    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 ```spoiler block.

    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 ```spoiler block.

    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 ```spoiler block.

    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 ```spoiler block.

    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 ```spoiler block.

    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 ```spoiler block.

    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.

Spot a mistake? Report it

Back to week 133