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.
I still havn't solved this one yet so please take what I say with a grain of salt
But the issue I had using 6k+1 is that it doesn't always give you prime numbers. For instance
k = 4
(6*4 + 1) = 25
25 isn't a prime number
hi guys , i just want to know why no one used the solution that works with numbers of format ( 6k-1 , 6k+1) or (6k+1 , 6k+5 ) becuase this probleme of finding if a number is prime or not is constently reapearing everywhere ,so i want to know what is the fastest solution ?