Prime Digit Sum

Problem Statement

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 N}) \bmod 1000000007$.

Submit Answers

You need to submit in the format: "N:problem(N)", possibly with multiple values at once, separated by commas, with $N$ between $1$ and $100$.

Top Users

🥇 icy
100.00 (100)
🥈 shs10978
100.00 (100)
🥉 pysmirnov
15.00 (15)

Data

Stats

Your submissions will appear here

Recent Submissions

1
pysmirnov
$g(15)$, $9$ digits 3 weeks, 5 days ago
2
pysmirnov
$g(14)$, $9$ digits 3 weeks, 5 days ago
3
pysmirnov
$g(13)$, $9$ digits 3 weeks, 5 days ago
4
pysmirnov
$g(12)$, $9$ digits 3 weeks, 5 days ago
5
pysmirnov
$g(11)$, $9$ digits 3 weeks, 5 days ago