I have 2 matrices, an A(7*7), a target matrix(30*7), the target matrix is known.

I create a matrix A (7*7) which allows me to find the target matrix in the following way:

1/ I take the last column of A, this column becomes the first row of my new matrix

2/ I take the squared of matrix A , the last column of A^2, this column becomes the second row of my new matrix

3/I take the cube of matrix A , the last column of A^3, this column becomes the third row of my

new matrix

So on and on, in other words

The first row of the target matrix has to be the last column of A

The 2nd row of the target matrix has to be the last column of A^2

The 3rd row of the target matrix has to be the last column of A^3

So up to 30.

In other words I must find matrix A which after the succession of operations described above gives the target matrix. How would you proceed?