You are viewing a single comment's thread. Return to all comments →
Here is my one line Python solution!
def permutationEquation(p): return [p.index(p.index(i + 1) + 1) + 1 for i in range(len(p))]
Seems like cookies are disabled on this browser, please enable them to open this website
Sequence Equation
You are viewing a single comment's thread. Return to all comments →
Here is my one line Python solution!