Generator

Every single-digit error in 3141592653, under weights 1…10 mod 11

A generator in the computation library, called 7 times across 2 essays. Below: what it draws with nothing chosen and at each mode an essay asks for, what it checks while drawing, and everywhere it is used.

check-digit is one function. Everything below came out of it during this build, at parameters taken from the essays rather than invented for this page — so a figure here is the same figure a reader meets in an essay, and if the generator changes, this page changes with it.

With nothing chosen

Every single-digit error in 3141592653, under weights 1…10 mod 11. A grid with one column per position and one row per replacement digit, marking which substitutions the check digit catches.

What each check-digit scheme catches

What each check-digit scheme catches. Bars showing, for several check-digit schemes, the fraction of single-digit errors and of adjacent transpositions the scheme detects.

No pair of weights modulo ten catches everything

No pair of weights modulo ten catches everything. Two 10 × 10 grids over pairs of alternating weights modulo ten, shaded by the share of single errors and of swaps each catches. No pair is full in both; weights 3 and 1, ringed, catch every single error and 88.9% of swaps.

Swap-proof scrambles exist for odd moduli and for the pentagon

Swap-proof scrambles exist for odd moduli and for the pentagon. Counts of swap-proof maps for the integers modulo 2 to 11 — zero for every even modulus — and 34040 for the symmetry group of the pentagon, which also has ten elements.

The pentagon's ten symmetries, and where their order matters

The pentagon's ten symmetries, and where their order matters. The 10 × 10 table of composing the symmetries of a regular pentagon, digits 0–4 for turns and 5–9 for flips, with the 60 cells where the order of the two matters ringed.

Damm's table, a Latin square with a zero diagonal

Damm's table, a Latin square with a zero diagonal. Damm's 10 × 10 operation table on the digits, zeros on the diagonal; checked for all running values, it lets no swap of two different neighbouring digits through.

What it checks while it draws

Collected by running the family and recording what it asserted, not written here. The count is how many separate times the claim was put to the test while these drawings were made.

Where it is called

Every figure on this list is drawn by the same rule, so a change to the rule changes all of them at once. That is why the list is published.

The whole library · What the figures prove