<s>[INST] Simplifying $\frac{x^6-1}{x-1}$ I have this:
$$\frac{x^6-1}{x-1}$$
I know it can be simplified to $1 + x + x^2 + x^3 + x^4 + x^5$
Edit : I was wondering how to do this if I didn't know that it was the same as that.
 [/INST] By indeterminate coefficients:
$$(x-1)(ax^5+bx^4+cx^3+dx^2+ex+f)\\=ax^6+(b-a)x^5+(c-b)x^4+(d-c)x^3+(e-d)x^2+(f-e)x-f.$$
After identification, $$a=b=c=d=e=f=1.$$
</s>