title: first n digits of an exponentiation
body: <p>How do i determine the first n digits of an exponentiation (a<sup>b</sup>).</p>
  
  <pre><code>eg: for a = 12, b = 13 &amp; n = 4, the first 4 digits are 1069.
  </code></pre>