Correct permutation cycle for Verhoeff algorithm
- by James
Hello,
I'm implementing the Verhoeff algorithm for a check digit scheme, but there seems to be some disagreement in web sources as to which permutation cycle should form the basis of the permutation table.
Wikipedia uses: (36)(01589427)
while apparently, Numerical Recipies uses a different cycle and this book uses: (0)(14)(23)(56789), quoted…