# Integrating Floor

Calculus Level 4

$\large \int_0^2 \lfloor x^2 - x + 1 \rfloor \ dx$

If the integral above equals to $$\frac {a- \sqrt a}{b}$$ for positive integers $$a,b$$, find $$a+b$$.

×