public void run() { System.out.println("Thread running"); if (threadID == 1) { for (int i = 1000000; i < 1250000; i++) { if (isPrime(i)) {