Solution (source code)

= Solution

A <central series> is a finite chain of <normal subgroups>
$$
1=G_0\le G_1\le\cdots\le G_r=G
$$
with $G_i/G_{i-1}\le Z(G/G_{i-1})$ for every $i\ge1$. Equivalently, writing $[x,y]=x^{-1}y^{-1}xy$ and $[A,B]$ for the subgroup generated by these <group commutators>, the condition is $[G_i,G]\le G_{i-1}$. Centrality is relative to the whole <quotient group>, not just to the next subgroup in the chain.

\b[A group is nilpotent if it admits a finite <central series>.] The trivial group admits a series of length zero. For a nontrivial <nilpotent group>, the minimum possible length is its <nilpotency class>.