Alphabeta Math
Session-authored (Fable 5 assisted)
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

14 results · all verified · 9 also independently AI-judged
Every result on this page is machine-checked by a proof checker and read in full and owner-audited; the judge is an additional, independent cross-model AI review of the proofs. The 5 not AI-judged were verified by owner audit (typically over a confirmed judge false positive), not failures.

Set Partitions, Stirling Numbers and Exponential Generating Functions

1 · Prerequisites

2 · Summary

This page fixes the Stirling-number notation once, proves the finite recurrences and change-of-basis formulas that connect powers, falling factorials, and cycle counts, and then turns to the labelled symbolic method. The labelled half is the point of the page: it explains why the vertical Stirling triangles, the Bell exponential formula, involution numbers, ordered Bell numbers, and the no-singleton partition count all have the expected exponential generating functions.

Only one item here is deliberately analytic: Dobinski's formula expresses the Bell numbers as Bn=e10n/!. Everything before it is formal or finite. The Bell and Stirling identities come from counting functions, surjections, partitions, and permutations; the EGF rules live in a commutative Q-algebra and use the library's formal power-series calculus rather than analytic convergence. That separation is deliberate, and This page fixes the Stirling-sign and exponential-generating-function conventions records it so the page does not blur the formal and analytic arguments.

3 · Logical flowchart

4 · Definitions, theorems and proofs

RemarkRemark: Literature-sourcedProof: Not applicablejudge pass (gpt-5.6-terra)audited 2026-08-27Open item page →

This page fixes the Stirling-sign and exponential-generating-function conventions

On this page:

  • S(n,k) denotes the Stirling numbers of the second kind.
  • c(n,k) denotes the signless Stirling numbers of the first kind, so c(n,k) counts permutations of [n] with exactly k cycles.
  • s(n,k):=(1)nkc(n,k) denotes the signed first-kind numbers used in the inversion formulas.

All exponential generating functions are taken in a commutative Q-algebra, so the coefficients 1/n! and the formal operations exp and log of Formal exponential, logarithm, and binomial powers over a commutative Q-algebra are available. The page uses this hypothesis exactly where factorial denominators or formal exponential and logarithmic identities appear.

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-5.6-terra)audited 2026-08-27Open item page →

Set partitions and blocks

Definition

Let A be a set. A set partition of A is a family P of nonempty subsets of A such that:

  1. distinct members of P are disjoint; and
  2. P=A.

The members of P are its blocks.

Equivalently, a set partition is a decomposition of A into nonempty pairwise disjoint pieces. The empty set has one partition, namely the empty family.

LemmaStatement: AI-adaptedProof: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-08-27Open item page →

The set partitions of a finite set form a finite set

Statement

For every natural number n, the set of partitions of [n] is finite. Consequently, for every k, the set of partitions of [n] into exactly k blocks is finite as well.

Facts & Assumptions

Given: A natural number n and a partition P of [n] in the sense of Set partitions and blocks.

Proof

technique · direct
1.1

If n=0, then [n]=, whose only partition is the empty family. So the statement holds in the empty-set boundary case.

given
1.2

Assume n1. For a partition P of [n], define fP:[n][n] by sending each i[n] to the least element of the block of P containing i. If i and j lie in the same block, then they have the same least block element. Conversely, if fP(i)=fP(j), then both i and j lie in the block containing that common least element, so they lie in the same block. Thus P is recovered from the fibres of fP.

givenalgebra
2.1

Therefore PfP is injective from the set of partitions of [n] into the function set [n][n]. By The set AB of functions BA between finite sets is finite, with AB=AB, the latter is finite. Hence the set of all partitions of [n] is finite, and every subfamily of it, including the partitions with exactly k blocks, is finite as well.

step 1.1step 1.2
DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-5.6-terra)audited 2026-08-27Open item page →

The Stirling numbers of the second kind and the Bell numbers

Definition

For n,kN, let Π(n,k) be the set of partitions of [n] into exactly k blocks. By The set partitions of a finite set form a finite set, this set is finite.

The Stirling number of the second kind is

S(n,k):=Π(n,k).

The Bell number is

Bn:=k=0nS(n,k),

the total number of set partitions of [n].

The definition includes the standard boundary values:

  • S(0,0)=1 because the empty family is the unique partition of ;
  • S(n,0)=0 for n1 because a nonempty set cannot be partitioned into zero nonempty blocks; and
  • S(n,k)=0 for k>n because n distinct elements cannot be split into more than n nonempty blocks.
DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-5.6-terra)audited 2026-08-27Open item page →

The signed and signless Stirling numbers of the first kind

Definition

For n,kN, let S(n,k) be the set of permutations of [n] with exactly k cycles in the sense of Support, fixed points, disjoint cycles, cycle length, disjoint-cycle decompositions, and cycle type. This is a finite set because Sn is finite by The Lehmer code gives Sn=n! again.

The signless Stirling number of the first kind is

c(n,k):=S(n,k).

The signed Stirling number of the first kind is

s(n,k):=(1)nkc(n,k).

In particular, c(0,0)=1 from the identity permutation of [0]=, and c(n,k)=0 when k>n or when n1 and k=0.

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-5.6-terra)audited 2026-08-27Open item page →

The rising factorial

Definition

For an indeterminate x and nN, the rising factorial is

x0:=1,xn:=x(x+1)(x+n1)(n1).

Thus x1=x, x2=x(x+1), and xn is the upward analogue of the falling factorial notation introduced in The factorial n! and the falling factorial nk, defined by recursion in N.

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-5.6-terra)audited 2026-08-27Open item page →

Exponential generating functions over a commutative Q-algebra

Definition

Let R be a commutative Q-algebra and let (an)n0 be a sequence in R. Its exponential generating function is the formal series

A(x):=n0anxnn!Rx,

formed inside Formal power series over a commutative ring and the coefficient-extraction functional [xn].

The Q-algebra structure is part of the definition: it is what makes the scalars 1/n! meaningful in R. The resulting series is formal rather than analytic, and the formal exp and log used later are those of Formal exponential, logarithm, and binomial powers over a commutative Q-algebra.

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-5.6-terra)audited 2026-08-27Open item page →

Labelled classes, labelled product, and the constructions SEQ, SET, CYC, and boxed product

Definition

A labelled class A assigns to each finite label set L a finite set A[L] of A-structures carried by L, together with transport along bijections of label sets. Write

an:=A[[n]],

so the exponential generating function of A is A(x)=n0anxn/n!.

If A and B are labelled classes, their labelled product AB on a label set L consists of triples (S,α,β) where SL, αA[S], and βB[LS]. Thus the labels are split into two disjoint parts, one carrying the A-object and the other the B-object.

For a labelled class A:

  • SEQ(A) is the class of finite ordered lists of pairwise disjoint A-objects whose label sets partition the ambient label set;
  • SET(A) is the class of finite unordered sets of pairwise disjoint A-objects whose label sets partition the ambient label set;
  • CYC(A) is the class of finite cyclic arrangements of pairwise disjoint A-objects whose label sets partition the ambient label set; and
  • the boxed product AB is the subclass of AB in which the smallest label belongs to the A-part.

All four constructions keep the source convention that labels are distinct and their union is the ambient finite label set.

As with the ordinary sequence construction, these formal labelled constructions need not define labelled classes in the finiteness sense when A[] is nonempty. The translation theorem below therefore imposes the zero-constant-coefficient hypothesis exactly where it is needed.

TheoremStatement: Literature-sourcedProof: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-08-27Open item page →

The Stirling numbers of the second kind satisfy S(n,k)=kS(n1,k)+S(n1,k1)

Statement

For every n1 and every k1,

S(n,k)=kS(n1,k)+S(n1,k1).

Facts & Assumptions

Given: A partition of [n] into exactly k nonempty blocks, with n1 and k1, counted by The Stirling numbers of the second kind and the Bell numbers.

Proof

technique · direct
1.1

Look at the block containing the element n. If that block is the singleton {n}, deleting it leaves a partition of [n1] into exactly k1 blocks. Conversely, adjoining {n} to any partition of [n1] into k1 blocks produces such a partition of [n]. So the singleton case contributes S(n1,k1).

given
1.2

If the block of n is not a singleton, delete n from that block. The remaining blocks form a partition of [n1] into exactly k blocks, and the original partition is recovered by choosing one of those k blocks and reinserting n into it. So the nonsingleton case contributes kS(n1,k).

givenalgebra
2.1

The two cases are disjoint and exhaustive, so their counts add to S(n,k). This gives the displayed recurrence.

step 1.1step 1.2
CorollaryStatement: Literature-sourcedProof: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-08-27Open item page →

The Bell numbers satisfy Bn+1=k=0n(nk)Bk

Statement

For every nN,

Bn+1=k=0n(nk)Bk.

Facts & Assumptions

Given: A partition of [n+1], counted by The Stirling numbers of the second kind and the Bell numbers.

Proof

technique · direct
1.1

Let S be the block containing n+1, and let T:=[n](S{n+1}). Then T is exactly the set of elements not lying in the distinguished block. If T=k, there are (nk) choices for T, and after that the elements of T may be partitioned arbitrarily in Bk ways.

given
1.2

Conversely, every choice of a subset T[n] and a partition of T determines a unique partition of [n+1]: put all elements of [n]T together with n+1 into one block and keep the chosen partition of T for the other blocks.

givenconstruct
2.1

Summing over all possible values k=T gives the claimed recurrence for Bn+1.

step 1.1step 1.2
TheoremStatement: Literature-sourcedProof: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-08-27Open item page →

The Stirling numbers of the second kind are given by S(n,k)=1k!i=0k(1)i(ki)(ki)n

Statement

For all n,kN,

S(n,k)=1k!i=0k(1)i(ki)(ki)n.

Proof

technique · direct
1.1

A partition of [n] into exactly k blocks becomes a surjection [n][k] once the k blocks are labelled by the k elements of [k]. Conversely, the fibres of a surjection [n][k] form a partition of [n] into exactly k nonempty blocks. Thus the number of surjections [n][k] is k!S(n,k).

given
1.2

By The number of surjections from an n-element set onto a k-element set is i<k+1(1)i(ki)(ki)n, read in R through ι, that same number equals i=0k(1)i(ki)(ki)n. Therefore k!S(n,k)=i=0k(1)i(ki)(ki)n.

given
2.1

Dividing by the nonzero factorial k! from The factorial n! and the falling factorial nk, defined by recursion in N gives the displayed formula.

step 1.1step 1.2
TheoremStatement: Literature-sourcedProof: AI-generatedprecheck passaudited 2026-08-27Open item page →

Ordinary powers expand in the falling-factorial basis by the second-kind Stirling numbers

Statement

For all n,mN,

mn=k=0nS(n,k)mk.

Facts & Assumptions

Given: Naturals n and m.

Proof

technique · direct
1.1

The left-hand side mn counts all functions [n][m]. Group those functions by the partition of [n] into their nonempty fibres. If the image has size k, then the fibres form a partition of [n] into k blocks, counted by S(n,k).

given
1.2

Once such a k-block partition is fixed, assigning distinct values of [m] to its blocks is equivalent to choosing an ordered k-tuple of distinct elements of [m], and there are exactly mk such choices by The factorial n! and the falling factorial nk, defined by recursion in N.

given
2.1

Summing over all possible image sizes k counts every function [n][m] exactly once, so mn=k=0nS(n,k)mk.

step 1.1step 1.2
TheoremStatement: Literature-sourcedProof: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-08-27Open item page →

The signless first-kind Stirling numbers satisfy their recurrence and expand the rising factorial

Statement

For every n1 and every k1,

c(n,k)=c(n1,k1)+(n1)c(n1,k).

Moreover, for every nN,

xn=k=0nc(n,k)xk.

Facts & Assumptions

Proof

technique · direct
1.1

To build a permutation of [n] with exactly k cycles, start from a permutation of [n1]. Either n forms a new one-cycle, which contributes c(n1,k1) possibilities, or else n is inserted into one of the n1 cyclic slots of a permutation with k cycles, which contributes (n1)c(n1,k). These two constructions are disjoint and exhaustive, so the recurrence follows.

given
2.1

Let Pn(x):=k=0nc(n,k)xk. Step 1.1 gives Pn(x)=xPn1(x)+(n1)Pn1(x)=(x+n1)Pn1(x), and also P0(x)=1.

step 1.1algebra
3.1

The rising factorial satisfies the same recursion: x0=1 and xn=(x+n1)xn1 by The rising factorial. Therefore Pn(x)=xn for all n by induction on n.

step 2.1given
TheoremStatement: Literature-sourcedProof: AI-generatedprecheck passaudited 2026-08-27Open item page →

The signed first-kind and second-kind Stirling numbers are inverse transition matrices

Statement

For all n,mN,

mn=k=0ns(n,k)mk.

Consequently, for all n,jN,

k=jnS(n,k)s(k,j)=δn,j,k=jns(n,k)S(k,j)=δn,j,

where δn,j is the Kronecker delta. Equivalently, for sequences (ak)k0 and (bn)n0 in any commutative ring,

bn=k=0nS(n,k)akan=k=0ns(n,k)bk.

Proof

technique · direct
1.1

Replace x by m in The signless first-kind Stirling numbers satisfy their recurrence and expand the rising factorial. Since (m)n=(1)nmn and s(n,k)=(1)nkc(n,k) by definition, this gives mn=k=0ns(n,k)mk.

givenalgebra
1.2

A finite linear combination j=0najmj that vanishes for every mN has all coefficients zero: evaluating at m=0 gives a0=0, and after that evaluating at m=1,2,,n strips off the remaining coefficients triangularly because mj=0 for j>m and mm=m!0 by The factorial n! and the falling factorial nk, defined by recursion in N.

given
2.1

Substitute the second-kind expansion of Ordinary powers expand in the falling-factorial basis by the second-kind Stirling numbers into step 1.1. This gives mn=k=0ns(n,k)j=0kS(k,j)mj=j=0n(k=jns(n,k)S(k,j))mj.

step 1.1givenalgebra
3.1

Apply step 1.2 to the identity of step 2.1. Since the left-hand side is mn, the coefficient of mj is δn,j, so k=jns(n,k)S(k,j)=δn,j.

step 2.1step 1.2
4.1

The matrix in step 3.1 is lower triangular with diagonal entries 1, so its inverse is unique. Since step 3.1 shows that (s(n,k))n,k0 is a left inverse of (S(n,k))n,k0, it is also the right inverse. Hence k=jnS(n,k)s(k,j)=δn,j as well.

step 3.1algebra
5.1

Steps 3.1 and 4.1 say exactly that the two triangular Stirling matrices are inverse to one another. Therefore the two finite-sum transforms on sequences in any commutative ring are mutually inverse, which is the claimed iff.

step 3.1step 4.1
TheoremStatement: Literature-sourcedProof: AI-generatedprecheck passaudited 2026-08-27Open item page →

The labelled constructions translate into the usual exponential-generating-function rules

Statement

Let A and B be labelled classes with exponential generating functions A(x) and B(x) over a commutative Q-algebra. Then:

EGF(AB)=A(x)B(x).

If A(0)=0, then

EGF(SEQ(A))=11A(x),

EGF(SET(A))=exp(A(x)),

EGF(CYC(A))=log11A(x).

For the boxed product,

ddxEGF(AB)=A(x)B(x),

and the constant term is 0, so

EGF(AB)=0xA(t)B(t)dt.

Proof

technique · direct
1.1

In the labelled product on an n-label set, choosing the k labels sent to the A-part contributes (nk) possibilities, and then one chooses an A-object on those labels and a B-object on the complement. Thus the size-n coefficient is k=0n(nk)akbnk, which is exactly the coefficient rule for the product of exponential generating functions.

given
2.1

For SEQ(A), a sequence of length r is an r-fold labelled product of A with itself, so its EGF is A(x)r. Summing over all r0 gives r0A(x)r, and because A(0)=0 this formal geometric series equals 1/(1A(x)).

step 1.1given
2.2

A labelled set of exactly r A-objects is the same data as an ordered r-tuple of pairwise disjoint A-objects modulo permutation of the r components. Therefore its EGF is A(x)r/r!, and summing over r0 gives exp(A(x)) by Formal exp and log are inverse homomorphisms and formal binomial powers obey the expected addition laws.

step 1.1given
2.3

A labelled cycle of exactly r1 A-objects has r linear representatives, so its EGF is A(x)r/r. Summing over r1 gives r1A(x)r/r=log(1/(1A(x))) by Formal exp and log are inverse homomorphisms and formal binomial powers obey the expected addition laws.

step 1.1given
2.4

In a boxed product, the smallest label lies in the A-part. On size-n labels this is equivalent to choosing a pointed A-object on some k1 labels, with the distinguished label forced to be the smallest, and then a B-object on the remaining labels. Pointing contributes the derivative A(x), so the derivative of the boxed-product EGF is A(x)B(x). Since no boxed product has size 0, the constant term is 0, and integrating from 0 to x gives the displayed formula.

step 1.1given
3.1

Steps 1.1-3.1 are exactly the labelled symbolic-method rules claimed in the statement.

step 1.1step 2.1step 2.2step 2.3step 2.4
TheoremStatement: Literature-sourcedProof: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-08-27Open item page →

The two Stirling triangles have the expected vertical exponential generating functions

Statement

For every fixed kN,

n0S(n,k)xnn!=(ex1)kk!,

and

n0c(n,k)xnn!=1k!(log11x)k.

Facts & Assumptions

Given: The second-kind and first-kind definitions and the labelled symbolic rules of The labelled constructions translate into the usual exponential-generating-function rules.

Proof

technique · direct
1.1

A partition of [n] into exactly k blocks is a labelled set of exactly k nonempty labelled sets. The EGF of a nonempty labelled set of atoms is ex1, and taking an unordered set of exactly k such blocks contributes the factor 1/k!. Therefore n0S(n,k)xnn!=(ex1)kk!.

given
1.2

A permutation with exactly k cycles is a labelled set of exactly k labelled cycles of atoms. The EGF of one labelled cycle is log(1/(1x)), so the same labelled-set rule gives n0c(n,k)xnn!=1k!(log11x)k.

given
2.1

Steps 1.1 and 1.2 are exactly the two claimed vertical exponential generating functions.

step 1.1step 1.2
TheoremStatement: Literature-sourcedProof: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-08-27Open item page →

The exponential formula gives the Bell-number generating function

Statement

Let u be a second formal indeterminate. In Q[u]x, the block-count-refined exponential generating function of set partitions is

n0k=0nS(n,k)ukxnn!=exp ⁣(u(ex1)).

In particular,

n0Bnxnn!=exp(ex1).

Proof

technique · direct
1.1

A set partition is a labelled set of nonempty labelled sets. Marking each block by a factor of u replaces the basic block EGF ex1 by u(ex1). Applying the labelled-set rule therefore gives n0k=0nS(n,k)ukxnn!=exp ⁣(u(ex1)).

given
2.1

Setting u=1 sums over all block counts and therefore replaces k=0nS(n,k) by Bn. This yields n0Bnxn/n!=exp(ex1).

step 1.1given
3.1

Steps 1.1 and 2.1 prove the refined formula and its Bell-number specialization.

step 1.1step 2.1
CorollaryStatement: Literature-sourcedProof: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-08-27Open item page →

Dobinski's formula expresses the Bell numbers as Bn=e10n/!

Statement

For every nN,

Bn=e10n!.

Facts & Assumptions

Given: A natural number n.

[F1]

Ordinary powers expand as n=k=0nS(n,k)k. (Ordinary powers expand in the falling-factorial basis by the second-kind Stirling numbers).

[F2]

The falling factorial satisfies k=0 for <k and k/!=1/(k)! for k (The factorial n! and the falling factorial nk, defined by recursion in N).

[F4]

The Bell number is Bn=k=0nS(n,k) (The Stirling numbers of the second kind and the Bell numbers).

Proof

technique · direct
1.1

For a fixed kn, [F2] and the change of index m=k give. [F2, F3, algebra] 0k!=k1(k)!=m01m!=e. In particular each of these nonnegative series converges.

F2F3algebra
2.1

Substitute [F1] into the series in the Statement. Since the sum over k. [F1, F4, step 1.1, algebra] is finite, it may be interchanged with the convergent nonnegative series, and step 1.1 yields 0n!=k=0nS(n,k)0k!=ek=0nS(n,k)=eBn.

F1F4step 1.1algebra
3.1

Multiplying step 2.1 by e1 and using [F3] gives. [F3, step 2.1, algebra] Bn=e10n!. This also covers n=0, where 00=1 is the natural-power base convention already used in [F1].

F3step 2.1algebra
CorollaryStatement: Literature-sourcedProof: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-08-27Open item page →

Standard labelled specializations give involutions, ordered Bell numbers, and partitions without singletons

Statement

Let In be the number of involutions of [n], let Fn be the number of ordered set partitions of [n], and let Nn be the number of set partitions of [n] having no singleton block. The labelled symbolic method gives the following exponential generating functions:

  1. involutions: n0Inxnn!=exp ⁣(x+x22);
  2. ordered Bell numbers: n0Fnxnn!=12ex;
  3. set partitions with no singleton blocks: n0Nnxnn!=exp(ex1x).

Facts & Assumptions

Given: The labelled symbolic rules and the set-partition formulas already proved on this page.

Proof

technique · direct
1.1

An involution is a labelled set of fixed points and transpositions, so its EGF is exp(x+x2/2).

given
1.2

An ordered Bell structure is a sequence of nonempty labelled sets. The EGF of one nonempty labelled set is ex1, so the sequence rule gives 1/(1(ex1))=1/(2ex).

given
1.3

A partition with no singleton blocks is a labelled set of blocks of size at least 2. Subtracting the singleton contribution x from the basic block EGF ex1 leaves ex1x, and the set rule gives exp(ex1x).

given
2.1

These are exactly the three claimed specializations.

step 1.1step 1.2step 1.3
TheoremStatement: Literature-sourcedProof: AI-generatedprecheck passaudited 2026-08-27Open item page →

The Lah numbers count ordered-block set partitions and expand the rising factorial in the falling basis

Statement

Let L(0,0):=1, let L(n,0):=0 for n1, and for 1kn define

L(n,k):=n!k!(n1k1).

Then for every n,mN,

mn=k=0nL(n,k)mk.

Moreover, L(n,k) counts partitions of [n] into exactly k nonempty blocks, each equipped with a linear order.

Facts & Assumptions

Proof

technique · direct
1.1

Fix n1 and k{1,,n}. Take a permutation of [n], written as a word of length n, and choose k1 of the n1 gaps between consecutive letters. Cutting the word at those gaps produces an ordered list of k nonempty ordered blocks. This gives n!(n1k1) ordered lists of ordered blocks.

given
2.1

Forgetting the left-to-right order of the k blocks divides by k!, because every unordered family of k internally ordered blocks has exactly k! linear orders of its blocks. Hence L(n,k) counts partitions of [n] into k nonempty linearly ordered blocks.

step 1.1algebra
3.1

For mN, consider m distinguishable boxes arranged from left to right. Building an ordered list inside each box by inserting the elements 1,2,,n one after another gives m(m+1)(m+n1)=mn possibilities. Grouping the outcomes by the number k of nonempty boxes, one first chooses the underlying partition of [n] into k internally ordered blocks, counted by L(n,k) from step 2.1, and then chooses the k occupied boxes in order, which gives mk possibilities. Summing over k yields mn=k=0nL(n,k)mk.

step 2.1given
4.1

Steps 2.1 and 3.1 prove the counting interpretation and the falling-factorial expansion on natural arguments, together with the defining value L(0,0)=1.

step 2.1step 3.1
CorollaryStatement: Literature-sourcedProof: AI-generatedprecheck passaudited 2026-08-27Open item page →

Touchard's congruence: for prime p, Bn+pBn+Bn+1(modp)

Statement

Let p be prime and let nN. Then

Bn+pBn+Bn+1(modp).

Facts & Assumptions

Given: A prime number p and the cyclic permutation σ=(n+1n+2n+p) of the last p elements of [n+p].

[L1]

If a partition is fixed by a permutation, then that permutation permutes the blocks of the partition.

Proof

technique · direct
1.1

Let σ act on the set of partitions of [n+p] by relabelling the elements n+1,,n+p. Every orbit has size 1 or p, because σ has prime order p. Therefore the total number Bn+p is congruent modulo p to the number of fixed partitions.

given
1.2

Let P be fixed by σ. By [L1], σ permutes the blocks of P. If one block of P contains one of the last p elements and also some element of [n], then σ fixes that element of [n] and cycles the last p elements transitively, so that block must contain all of n+1,,n+p. If instead a block containing one of the last p elements is disjoint from [n], then its σ-orbit consists of pairwise disjoint blocks of the same size. Because there are exactly p moved elements and p is prime, this leaves only two possibilities: either all p moved elements are singleton blocks, or they all lie in one block. In the singleton case the remaining n elements may be partitioned arbitrarily, giving Bn fixed partitions. In the one-block case the last p elements lie in one block together with some subset S[n]; choosing the complement T:=[n]S and partitioning T arbitrarily is exactly the construction counted in The Bell numbers satisfy Bn+1=k=0n(nk)Bk, so this case contributes Bn+1 fixed partitions.

L1
2.1

Every fixed partition is of one of those two types, and each nonfixed orbit has cardinality divisible by p. Hence Bn+pBn+Bn+1(modp).

step 1.2

5 · Examples, counterexamples and false statements

None yet.

Sources