https://lunchballer.com/archives/1348
요세프스 순열(Josephus Permutation)