Finds truncated primes up to a million and prints them