Calculates the longest chain of prime numbers e.g: " 18593 → 185593 → 1855993 .... " but limitation is the INT32 numberspace of Java. So no bigger prime chains than INT_MAX will be found.