title: What's the fastest way to divide an integer by 3?
body: <pre><code>int x = n / 3;  // &lt;-- make this faster
  
  // for instance
  
  int a = n * 3; // &lt;-- normal integer multiplication
  
  int b = (n &lt;&lt; 1) + n; // &lt;-- potentially faster multiplication
  </code></pre>