Find the limits :
$$\lim_{x \to 1} \frac{x^{100}-2x+1}{x^{50}-2x+1}$$
Using the L'Hopital's Theorem :
$$\lim_{x \to 1} \frac{x^{100}-2x+1}{x^{50}-2x+1}=\lim_{x \to 1} \frac{100x^{99}-2}{50x^{49}-2}=\frac{98}{48}$$
Now how without use L'Hopital's Theorem.
Hint: $x^n-2x+1 = (x^n-1)-2(x-1) = (x-1)(x^{n-1}+x^{n-2}+\dots+x+1-2)$.