integrate[ x+n , {x,0,1}, assumptions-> Element[n, Integers] ]