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