Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
That's not what EmilePW meant. Instead, the corner case
n = 2
isn't checked.2
is the only number which is both even and prime.Hi,
You only need to test if n is even, prime and multiple of 10.
Fixed. Square root is 2, therefore root(9, 2) == 3;