This question doesn't support checking answers.
845. Prime Digit Sum

Publish Date:

Let $D(n)$ be the $n$-th largest positive integer that has the sum of its digits a prime.
For example, $D(61) = 157$ and $D(10^8) = 403539364$.

Find $D(10^{16})$.

Press F12 and use the "Console" tab to view the output of your codes.

Loading...