Let $R$ be a commutative ring with 1. An element $a$ in $R$ is said $\pi$-regular if $a^n = a^nra^n$ for some $r \in R$ and a natural number $n$. A ring $R$ is called $\pi$-regular if every element is $\pi$-regular.
Is any zero dimensional ring a $\pi$-regular ring?
Note: Zero dimensional= every prime ideal is maximal.
Results like this have definitely been known since the $80's$, when there was some interest in embeddability of rings in $0$-dimensional rings (like the work of Arapovic in the early 80's). Robert Gilmer wrote and coauthored a number of papers about $0$-dimensional rings in the late 80's and early 90's. A number of proofs of this fact might start with an element-wise observation like the following.
Proof:
Given $(1)$, take $e = a^n r$ and $r' = ra^{n-1}$ and the check that $a[(1-e)]^n = 0$ and that $e(ra - 1) = 0$ with $r = r'$ is straightforward, which gives $(3)$
Given $(3)$, since $(1-e)$ is idempotent we have $a^n(1-e) = 0$. Then substituting $e = era$ we have $a^n(1 - era) = 0$. So $a^n = a^{n+1}er$ and $(2)$ holds.
Given $(2)$, take $r' = r^n$. Indeed, we have $a^n = a^{n+1}r = ar a^n$, so iterating we get $a^n = a^n r^n a^n$.
Given $(3)$, note that the relation $a^n(1-e) = 0$ implies $e$ divides $a^n$, and the relation $e(ra-1) = 0$ implies that $e = e^n = er^na^n$ and hence $a^n$ divides $e$. Thus $eR = a^nR$, and the idempotent $e$ is unique because $eR = fR$ always implies $e = f$ (indeed, if $es = f$ and $ft = e$ then $ef = e(es) = es = f$ and $ef = ft(f) = ft = e$ so $f = e$).
Given $(4)$, it's clear that $(1-e)$ annihilates $eR = a^nR$, so $[a^n(1-e)]^n = 0$. Also there is an $r'$ such that $r'a^n = e$, and hence $r'a^ne = e$ and $e(r'a^n - 1) = 0$, so taking $r = r'a^{n-1}$ we are done. Since the idempotents in $(3)$ and $(4)$ are the same by proof, uniqueness carries over from $(4)$ to $(3)$. $\square$
As a bonus, condition $(3)$ makes transparent that
We also have
This follows immediately from $(4)$ and the fact that in a local ring the only idempotents are $1$ and $0$.
Standard, but a quick sketch is.... ($\implies$). Consider $aR/a^2R$ for any $a$. Using the facts that localization commutes with quotients and that $R_P$ is a field for any minimal prime of a reduced ring, and that being $0$ is a local property of modules, it's clear that $aR/a^2R$ is the zero module, hence $aR = a^2R$. Conversely, if $R$ is a VNR, then (M) says $aR = eR$ for some idempotent $e$, and so $a$ is either a unit or $0$ in any localization. Thus every localization is a field and $R$ is zero-dimensional.
We prove this by reducing to the reduced case, which was taken care of above.
Note that $R' = R/Rad(R)$ (where $Rad(R)$ is the nilradical of $R$) has the same Krull dimension as $R$, and that the homomorphic image of a $\pi$-regular ring is obviously $\pi$-regular. That $R/Rad(R)$ being $\pi$-regular implies $R$ being $\pi$-regular follows because if $a^2R' = R'$ then by definition $(a-a^2r) \in Rad(R)$ for some $r \in R$. Thus there exists an $n$ such that $(a - a^2r)^n = 0$, and binomial expansion immediately shows that $a^{n+1}$ divides $a^n$ in $R$.