Consider the sequence $$a_k=\operatorname{rank}(A^{k+1})-\operatorname{rank}(A^k)$$
Prove that the sequence is nondecreasing.
Essentially, what we want to prove is that $a_{k+1} \geq a_{k}$ or equivalently $$\operatorname{rank}(A^{k+2})+\operatorname{rank}(A^k)\geq2\operatorname{rank}(A^{k+1})$$
Hint: Use the Frobenius inequality for appropriate powers of matrix $A$
By Rank-nullity theorem it's sufficient (finite-dimensional case) to prove that the sequence $b_k := \dim(B_k) - \dim(B_{k-1})$ are non decreasing.
Let's denote with $B_i=\ker (A^i)$. Since we have $\{0\}=B_0 \subset B_1 \subset B_2 \subset \dots \subset B_n \subset \cdots $ we have the following : $\forall 1 \le i \le n-1, \dim(B_i) - \dim(B_{i-1}) \geq \dim(B_{i+1}) - \dim(B_i)$, i.e $b_i \geq b_{i-1}$.
Consider the following homomorphism :
$$\begin{array}{ccccc} & B_{i+1} & \xrightarrow{f} & B_i & \xrightarrow{\pi_i} & B_i /B_{i-1} \end{array}$$
$\ker(\pi_i \circ f)=f^{-1}(\pi_i^{-1}(\{0\}))=f^{-1}(B_{i-1})=B_i$, so by 1-st isomorphism theorem we have $B_{i+1} /B_{i} \simeq \text{Im}(\pi_i \circ f) < B_i /B_{i-1}$. So $\dim(B_{i+1} /B_{i}) \le \dim(B_i /B_{i-1})$ which was what we wanted to prove.