title: question about Tetration
body: <p>i have question how write program  which  calculates   following procedures</p>
  
  <blockquote>
    <p><a href="http://en.wikipedia.org/wiki/Tetration" rel="nofollow noreferrer">http://en.wikipedia.org/wiki/Tetration</a></p>
  </blockquote>
  
  <p>i have exponential program which returns x^n here is code</p>
  
  <pre><code>public class Exp{
  public static long  exp(long x,long n){
     long t=0;
   if (n==0){
       t= 1;
  }
  else{
         if (n %2==0){
     t=  exp(x,n/2)* exp(x,n/2);
  
  }
  else{
  
   t= x*exp(x,n-1);
  }
  
  }
   return t;
  }
  
  
  public static  void main(String[]args){
  long x=5L;
  long n=4L;
   System.out.println(exp(x,n));
  
  
  }
  }
  </code></pre>
  
  <p>but how use it in Tetration program?please help</p>