Generator

genfun

A generator in the discrete library, called 5 times across 1 essays. Below: what it draws at its defaults and at each mode an essay asks for, what it checks while drawing, and everywhere it is used.

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

At its defaults

A product of 3 polynomials, and what its coefficients count. The coefficients of a product of small polynomials, with the combinations of choices that reach one marked total written out beneath it.

show: "convolution"

Multiplying two series is summing a diagonal. A multiplication table of the coefficients of two series, with one anti-diagonal marked: its sum is the coefficient of the corresponding power in the product.

show: "recursion"

1 / (1 − x − x²), and the objects its coefficients count. Two rows of coefficients: those of a generating function, and a direct count of the objects it is meant to count. The rows agree at every power.

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

Changing this generator changes every figure on this list. That is what makes the list worth publishing rather than keeping in a check script.

The whole library · What the figures prove