Let $\mathfrak{g}$ be a Lie Algebra (finite dimensional, over $\mathbb{C}$). Engel's theorem tells us that if there exists a $m\in \mathbb{N}$ such that $\mathrm{ad}(x)^m = 0$, $\forall x\in \mathfrak{g}$, then $\mathfrak{g}$ is nilpotent. And if $\mathfrak{g}$ is $(k-1)$-step nilpotent (i.e. the $k$-th term of the lower central series of $\mathfrak{g}$ is the first one that is 0, or equivalently $\mathrm{ad}(x_1)\mathrm{ad}(x_2) \ldots \mathrm{ad}(x_k) = 0$ $\forall x_1, \ldots, x_k \in \mathfrak{g}$), it is clear that $$\min \big\{m\in \mathbb{N} : \mathrm{ad}(x)^m = 0 \forall x\in \mathfrak{g} \big\} \leq k.$$ Can we find an example where the previous inequality is not an equality?
If this is a very basic fact in the theory, I apologize.
Edit: I've been asked to share de Graaf's example, here it is. It is a 17-dimensional (nilpotent) Lie algebra over $\mathbb{Q}$ that is 3-Engel and of nilpotency class 4.
(The table has to be read as follows: $\langle 2,4,17|-3\rangle$ means that $[x_2,x_4] = -3 x_{17}$. If there are more tuples starting with $\langle 2,4$ then one has to take the sum, so if there also was $\langle 2,4,13|-2\rangle$ then $[x_2,x_4] = -2 x_{13} - 3 x_{17}$.)
$$[ \langle2, 4, 17| -3\rangle,\; \langle2, 6, 3| -3\rangle,\; \langle2, 7, 1| 1\rangle,\; \langle2, 9, 1| 2\rangle,\; \langle2, 12, 9| 1\rangle,\; \langle2, 13, 10| 1\rangle,\; \langle2, 14, 11| 1\rangle,\; \langle2, 15, 13| 1\rangle,\; \langle2, 16, 14| 1\rangle,\; \langle5, 16, 17| -3\rangle,\; \langle7, 15, 17| 1\rangle,\; \langle7, 16, 3| -2\rangle,\; \langle8, 15, 3| 3\rangle,\; \langle9, 15, 17| -1\rangle,\; \langle9, 16, 3| -1\rangle,\; \langle10, 16, 1| 3\rangle,\; \langle11, 15, 1| -3\rangle,\; \langle12, 13, 17| 4\rangle,\; \langle12, 14, 3| 4\rangle,\; \langle12, 15, 4| -1\rangle,\; \langle12, 16, 6| -1\rangle,\; \langle13, 14, 1| -4\rangle,\; \langle13, 15, 5| -1\rangle,\; \langle13, 16, 7| -1\rangle,\; \langle14, 15, 7| -1\rangle,\; \langle14, 15, 9| 1\rangle,\; \langle14, 16, 8| -1\rangle,\; \langle15, 16, 12| -1\rangle ]$$
$ad(x)$
is nilpotent. (On the other hand, combining Engel's Theorem with Ado's Theorem allows one to regard an abstract nilpotent Lie algebra as a subalgebra of the upper triangular matrices.) It might be helpful to recall more explicitly what is meant by$k$
-step nilpotent. $\endgroup$