You are viewing a single comment's thread. Return to all comments →
on removing absolute modulus from eqn .you get:
pos[i] - i =k if pos[i] > i
or i - pos[i] =k if pos[i] < i
which is otherwise: pos[i]-i=k or -k if you ignore the conditions.
Seems like cookies are disabled on this browser, please enable them to open this website
Absolute Permutation
You are viewing a single comment's thread. Return to all comments →
on removing absolute modulus from eqn .you get:
pos[i] - i =k if pos[i] > i
or i - pos[i] =k if pos[i] < i
which is otherwise: pos[i]-i=k or -k if you ignore the conditions.