Question: How do I Define a Matrix Using Two for Loops

I would like to define the "12 by 12" matrix A where a_{ij} = (i-1)^(j-1) using for loops. How can this be done? If for loops are not the most efficient way, any other suggestions are welcome! Thanks!

Please Wait...