Question: How do i write when too many levels of recursion error appears?

Hi, I'm trying to do this sum in a loop but it says "Error, too many levels of recursion". May I know how should I write it please? Thanks.

for m from 1 to 5 do
end do:

I'm trying to get Aplus=(1+(1*2))+(2+(2*2)+....+(5+(5*2))


Please Wait...