Problem Archive

Let $D(n)$ be the $n$-th 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})$.

Solution
No solution yet. Write yours at solutions/s845.md.
Problems sourced from Project Euler · Non-commercial & educational use only · CC BY-NC-SA 4.0