a^3-a^2-3a+2008
=a^2(a-1)-3(a-1)+2005
=(√2+1)^2(√2+1-1)-3(√2+1-1)+2005
=√2(3+2√2)-3√2+2005
=3√2+4-3√2+2005
=2009