Question: How do I define elements of a matrix using seq

I would like to do the following

A[1,1],A[2,2],A[3,3]:=seq(i+2,i=1..3)

using seq on the left-hand-side. I know I have done it in the past but don't get it this time. End up with error messages. Not sure what am I missing.

thanks a lot

Dimitrios

Please Wait...