You are viewing a single comment's thread. Return to all comments →
Python:
def permutationEquation(p): ans=[] for i in range(1,len(p)+1): ans.append(p.index(p.index(i)+1)+1) return ans
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 →
Python: