%Write expression a*b+a*(b+1) + a*(b+2)... a*(b+k) in summation notation
\input{smartass.tex}
\begin{document}
%%BEGIN DEF 
%definition of variables/modules used
#<
ToSumNotationModule v1;
#>
%%END DEF

%%BEGIN QUESTION
Write in summation notation: #<v1.question#>
%%END QUESTION

%%BEGIN SOLUTION
#<v1.solution#> 
%%END SOLUTION

%%BEGIN SHORTANSWER
#<v1.shortanswer#>
%%END SHORTANSWER

\end{document}