Charlton's investigationLevel pending
Charlton wanted to investigate a certain group of numbers that satisfy the following:
- The number is a prime.
- The number has three digits.
- The number has a digit sum of 25.
- The name can be expressed as the sum of the squares of two natural numbers.
- When the number is divided by 5, it leaves a remainder of 2
Find the largest possible number lesser than 1000