title: Algorithm to find the next number in a sequence of numbers?
body: <p>I have the following sequence of numbers:</p>
  
  <pre><code>2 5 6 20 18 80 54 320 162 1280
  </code></pre>
  
  <p>I'm just not able to find the next following number or the algorithm to calculate it.</p>
  
  <p>Any hints?</p>