Completing the sequence

Answer: 103

These are happy prime numbers.  A happy number is when the sum of the square of the digits, when repeated, terminate with the number 1. Example: 13 -> 1^2 + 3^2 = 10 -> 1^2 + 0^2 = 1.  A happy prime number skips all numbers that are not prime.  Here is a list of prime numbers:
2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43

Here is a list of happy prime numbers:

7, 13, 19, 23, 31, 79, 97, ?                                      103, 109, 139, 167, 193, 239


Back