script and version 1 for get prime number