Post Reply 
challenge - prime numbers where sum of squared digits of prime number is also prime
01-05-2018, 01:34 PM
Post: #1
challenge - prime numbers where sum of squared digits of prime number is also prime
Thought I would see what this looked like.

1) Find the first prime number - ok, this is 2
2) Compute the sum of the squared digits of that prime number
3) Determine if the computed sum is also prime and display it
4) Find the next prime number
5) Goto 2


For example, 11 is the first prime where the sum of its digits squared is also prime (2).
What is the next prime where this is true?
How many primes less than 1000 is this true for?
What is the largest prime less than 100,000 where this is true?

Just for curiosity. Enjoy.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
challenge - prime numbers where sum of squared digits of prime number is also prime - Gene - 01-05-2018 01:34 PM



User(s) browsing this thread: 1 Guest(s)