Let $\mathbb{K}$ be a field and $1\leq n\in \mathbb{N}$.
Let $a\in M_n(\mathbb{K})$, such that $a_{ij}=0$ for all $i\leq j$.
It holds that $a^n=0$.
For $1\leq k\in \mathbb{N}$ we define \begin{equation*}J_k:=\begin{pmatrix}0 & 1 & 0 & \ldots & \ldots & 0 \\ 0 & 0 & 1 & 0 & \ldots & 0 \\ \vdots & \ddots & \ddots & \ddots & \ddots & \vdots \\ \vdots & \ddots & \ddots & \ddots & 1 & 0 \\ \vdots & \ddots & \ddots & \ddots & \ddots & 1 \\ 0 & \ldots & \ldots & \ldots & \ldots & 0\end{pmatrix}\in M_k(\mathbb{K})\end{equation*}
The characteristic and the minimal polynomial is $m(\lambda )=\lambda^k$.
Let $1\leq k_1\leq k_2\leq \ldots \leq k_{\ell}\in \mathbb{N}$ with $n=\sum_{i=1}^{\ell}k_i$ and $$A=\begin{pmatrix}J_{k_1} & & \\ & \ddots & \\ & & J_{k_{\ell}}\end{pmatrix}+\lambda I_n\in M_n(\mathbb{K})$$ I want to determine the characteristic polynomial of $A$, the minimal polynomial of $A$ and the geometric multiplicity of $\lambda$.
$$$$
To calculate the chatacteristic polynomial do we do the following? $$\det (A-\lambda I_n)=\begin{vmatrix}J_{k_1} & & \\ & \ddots & \\ & & J_{k_{\ell}}\end{vmatrix}$$ Do we use here the above result for $J_k$ ?