Check if a number is prime.
7
True
Time: 2s · Memory: 256 MB
Check divisibility from 2 to sqrt(n).
> Run your code to see console output.