Question: Help with the "for" loop

I am new to Maplesoft environment. I was trying to create a nested loop as given below:

I came across this error:

                               j:=1
Error, increment of for loop must be numeric.

Could anyone kindly help?

 

Thanks

Please Wait...