Let $D=x\frac{d}{dx}$ and $A_i\in\mathbb{R}[[x]]$ for $i=1,...,n$. Let $B_i\in\mathbb{R}[[x]]$ for $i=1,...,n$ such that $$(D-A_n)...(D-A_1)=D^n+\sum_{i=1}^nB_iD^{n-i}.$$
Is there a well-known formula for $B_i$?
Also, suggestions for the resources for the factorization of linear differential operators are appreciated.