title: Josephus Permutation (Removal Order) in O(n.logn)
body: <p>Is there a way to print out <strong>the order of removal</strong> in the Josephus problem in <em>O(n.logn)</em> ?</p>
  <p><strong>Example</strong></p>
  <p>With number of people is <code>n = 7</code> and number of skip <code>k = 3</code>. The order of elimination would be:</p>
  <pre><code>3, 6, 2, 7, 5, 1, 4
  </code></pre>