Find the sum of all four-digit numbers whose prime factors when added is a palindrome. For example, prime factors of 1006 is 2 and 503. The sum of these two numbers is 505 which is a palindrome. Keep in mind that the prime factors of 8 is 2, 2, and 2 instead of just 2.
Solution Stats
Solution Comments
Show comments
Loading...
Problem Recent Solvers27
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15821 Solvers
-
826 Solvers
-
Convert a numerical matrix into a cell array of strings
2563 Solvers
-
Set the array elements whose value is 13 to 0
1459 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
897 Solvers
More from this Author180
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!