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