title: Check if a number is prime using recursion
body: <p>This is a recursive check if this is a prime number -- is it correct?</p>
  
  <pre><code>public static boolean isPrimeRecursive (int n,int i){//i eqoual to n
      if (n &lt;= 1) {  
         return false;  
      }if (i==1){
          return false;
      }if(n%i==0){
          return false;
      }
  
     return isPrimeRecursive(n,i--);
  }
  </code></pre>