CodingReported in a candidate post, Jul 2025
Count numbers in range where sum of digits is prime
Filed under Rippling
The question
Calculate the number of positive integers between a range L and R where the sum of the digits of the number is a prime number, with 1 <= L <= R <= 10^18.
No write-up yet. Related questions below have one.
Related Rippling questions
Collected from public candidate posts and coding forums. Updated Nov 2026.