Jump to content

Factorial primes: Difference between revisions

Line 231:
countOfPrimes + ": " + f + "! - 1 = " + biMinusOneString);
}
if (primePlus && f > 1) {
countOfPrimes++;
System.out.println(countOfPrimes + ": " + f + "! + 1 = " + biPlusOneString);
Line 258:
}
</syntaxhighlight>
 
===output===
<pre>
25

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.