WolframAlpha computational knowledge AI
sum((n-x+1)*a^x, x,x,n)