← Complete problem index

PROJECT EULER · #0845

Prime Digit Sum

Statement only · SolvedOriginal problem ↗

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(108)=403539364.

Find D(1016).

Write-up coming later

The complete problem is available here. An approach, code, and answer will be added later.