I need to simplify these terms step by step to prove they are equivalent
$$(100^{(2n+1)}-1+99×10^{(4n+2)}-99×10^{(2(n+1)-1)})/(11×10^{(2n+1)}-11) $$
and $$(100^{(2(n+1)+1)}-1)/(10^{(2(n+1)+1)}-1)×1/11$$
I know that they are, because I checked it with WolframAlpha, I think it`s using some sort of "brute force" algorithm to find these simplifications. Here are both terms simplifyed by WA: here and here
So, my questions are: What are the steps for these simplifications and are there any good books to read about this topic, so that I could find such steps easily by myself in future?
Two things to notice are that $100^{(2n+1)}=10^{(4n+2)}$ and $99=100-1$ $$\begin {align}\frac{100^{2n+1}-1+99×10^{4n+2}-99×10^{2(n+1)-1}}{11×10^{2n+1}-11}\\& =\frac{100^{2n+1}-1+99×100^{2n+1}-99×10^{2n+1}}{11(10^{2n+1}-1)}\\& =\frac{100^{2n+2}-1-10^{2n+3}+10^{2n+1}}{11(10^{2n+1}-1)}\\& =\frac{10^{4n+4}-10^{2n+3}+10^{2n+1}-1}{11(10^{2n+1}-1)}\\& =\frac{(10^{2n+1}-1)(10^{2n+3}+1)}{11(10^{2n+1}-1)}\\& =\frac{10^{2n+3}+1}{11}\\& =\frac{(10^{2n+3}+1)(10^{2n+3}-1)}{11(10^{2n+3}-1)}\\& =\frac{100^{2n+3}-1}{11(10^{2n+3}-1)}\end {align}$$