This commit is contained in:
Miloslav Ciz 2023-11-01 12:33:02 +01:00
parent d4685988cf
commit 77b18c33d8
3 changed files with 10 additions and 4 deletions

View file

@ -87,7 +87,7 @@ int isPrime(int n)
if (n % (test + 1) == 0 || n % (test - 1) == 0)
return 0;
test *= 6;
test += 6;
}
return 1;