\(\frac{\left(x^{95}+x^{94}\right)+.....+\left(x+1\right)}{\left(x^{31}+x^{30}\right)+.....+\left(x+1\right)}=\frac{x^{94}\left(x+1\right)+......+\left(x+1\right)}{x^{30}\left(x+1\right)+.....+\left(x+1\right)}=\frac{x^{94}+x^{92}+....+x^2+1}{x^{30}+x^{28}+....+x^2+1}=\frac{\left(x^2+1\right)x^{92}+x^{88}\left(x^2+1\right).....+\left(x^2+1\right)}{\left(x^2+1\right)x^{28}+\left(x^2+1\right)x^{24}+....+\left(x^2+1\right)}=\frac{x^{92}+x^{88}+......+x^4+1}{x^{28}+x^{24}+.....+x^4+1}=\frac{x^{88}\left(x^4+1\right)+x^{80}\left(x^4+1\right)+....+\left(x^4+1\right)}{x^{24}\left(x^4+1\right)+x^{16}\left(x^4+1\right)+.....+\left(x^4+1\right)}=\frac{x^{88}+x^{80}+....+1}{x^{24}+x^{16}+...+1}\)
\(=\frac{x^{80}\left(x^8+1\right)+x^{64}\left(x^8+1\right)+.....+\left(x^8+1\right)}{x^{16}\left(x^8+1\right)+\left(x^8+1\right)}=\frac{x^{80}+x^{64}+.....+1}{x^{16}+1}=\frac{x^{64}\left(x^{16}+1\right)+.....+x^{16}+1}{x^{16}+1}=x^{64}+x^{32}+1\)