Smallest number k such that k+2^m is composite for all m less than k: Difference between revisions
Smallest number k such that k+2^m is composite for all m less than k (view source)
Revision as of 17:16, 20 June 2023
, 11 months agoRenamed a method.
(New post.) |
m (Renamed a method.) |
||
Line 84:
int k = 3;
while ( count < 5 ) {
if (
System.out.print(k + " ");
count += 1;
Line 93:
}
private static boolean
final BigInteger bigK = BigInteger.valueOf(aK);
for ( int m = 1; m < aK; m++ ) {
|