Factorial primes: Difference between revisions
Content added Content deleted
Sjharper79 (talk | contribs) (→output) |
Sjharper79 (talk | contribs) |
||
Line 231: | Line 231: | ||
countOfPrimes + ": " + f + "! - 1 = " + biMinusOneString); |
countOfPrimes + ": " + f + "! - 1 = " + biMinusOneString); |
||
} |
} |
||
if (primePlus |
if (primePlus) { |
||
countOfPrimes++; |
countOfPrimes++; |
||
System.out.println(countOfPrimes + ": " + f + "! + 1 = " + biPlusOneString); |
System.out.println(countOfPrimes + ": " + f + "! + 1 = " + biPlusOneString); |
||
Line 258: | Line 258: | ||
} |
} |
||
</syntaxhighlight> |
</syntaxhighlight> |
||
===output=== |
===output=== |
||
<pre> |
<pre> |