Let $R$ be a commutative ring with 1. Is there a nice way to characterise elements $$f(T) = a_0 + a_1 T + a_2 T^2 + \dots \in R[[T]]$$ whose inverses are polynomials? Something like "$f$ has invertible constant term $and$..."?
If it helps, the ring $R$ can be specialised to any field $K$. A crude guess was that maybe $f$'s coefficients have to be periodic in some way, but examples like $f(T) = 1/(1+T)^2$ show that's false.
It seems natural to me that such a nice property should have a correspondingly nice bearing on the coefficients of $f$, but maybe this is too much to hope for?