A permutation is a rearrangement of a list. For instance, suppose that we have a vector x = (A, B, C, D, E, F, G), and we have a permutation P = ( 7,6,5,4,3,2,1 ). If we apply P to y, we get the following
P( y ) = (G, F, E, D, C, B, A).
If we apply this particular permutation P twice to y, we get the original vector back
P2( y ) = P( P( y ) ) = (A, B, C, D, E, F, G).
Let's say that I have a 62-dimensional binary vector y. I also have another permutation P. I apply the consecutive powers of P to y, and list out the result. In the code block below, the 61 rows, starting from the first one, list out P0y, P1y, P2y, ....., P60y. Note that P has a cycle of 60, as P60y = y.
The challenge is to find P from the data below. What is this permutation?
Question
bushindo
A permutation is a rearrangement of a list. For instance, suppose that we have a vector x = (A, B, C, D, E, F, G), and we have a permutation P = ( 7,6,5,4,3,2,1 ). If we apply P to y, we get the following
P( y ) = (G, F, E, D, C, B, A).
If we apply this particular permutation P twice to y, we get the original vector back
P2( y ) = P( P( y ) ) = (A, B, C, D, E, F, G).
Let's say that I have a 62-dimensional binary vector y. I also have another permutation P. I apply the consecutive powers of P to y, and list out the result. In the code block below, the 61 rows, starting from the first one, list out P0y, P1y, P2y, ....., P60y. Note that P has a cycle of 60, as P60y = y.
The challenge is to find P from the data below. What is this permutation?
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.