0%

Problem 845


Problem 845


Prime Digit Sum

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


数字和为质数

D(n)为第n个各位数字和为质数的正整数。

例如,D(61)=157D(108)=403539364

D(1016)


Gitalking ...