challenge - prime numbers where sum of squared digits of prime number is also prime
|
01-05-2018, 02:02 PM
(This post was last modified: 01-05-2018 03:54 PM by Didier Lachieze.)
Post: #3
|
|||
|
|||
RE: challenge - prime numbers where sum of squared digits of prime number is prime
A quick HP Prime program providing the prime numbers between N & M fitting the requirement:
Code: EXPORT PrCh(N,M) Call it with e.g. SIZE(PrCh(1,1000)) to know for how many primes less than 1000 the sum of squared digits of the number is prime. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 3 Guest(s)