Solutions for two prime numbers