P845
projecteuler.net

Prime Digit Sum

ℹ️Published on Saturday, 27th May 2023, 05:00 pm; Solved by 822;
Difficulty rating: 15%

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})$.



Soluzione

Last modified: May 01, 2025. Website built with Franklin.jl and the lovely Julia programming language.