Go to the documentation of this file.
37 for (
int i = 1;
i <=
n;
i++) {
47 if (
n <= 1)
return false;
50 if (
n % 2 == 0)
return n == 2;
55 for (
int i = 3; ;
i += 2) {
61 if (
n %
i == 0)
return false;
grpc
Author(s):
autogenerated on Fri May 16 2025 03:00:09