Problem 845 题目发布于 2023-05-27 翻译更新于 2023-12-31 Problem 845 Prime Digit SumLet 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)=157,D(108)=403539364。 求D(1016)。
Gitalking ...