title: How do I find the theta notation for this block?
body: <p>The block is:  </p>
  
  <pre><code>    i=2  
      while(i&lt;n){  
          i=i*i;  
          x=x+1;  
      }  
  </code></pre>
  
  <p>I need to find the theta notation for how many times x=x+1 executes. I created a table with some sample values but I can't figure out how to move on from there.  Here are my sample values:  </p>
  
  <pre><code>(n) - (# times looped)  
    3 - 1  
    5 - 2  
   20 - 3  
  400 - 4
  </code></pre>