Let prime(0) = 1 and f(i) = sum prime(d), where d ranges over all the decimal digits of i. The sequence specifies the smallest i such that f(i) = n.

A113736

Let prime(0) = 1 and f(i) = sum prime(d), where d ranges over all the decimal digits of i. The sequence specifies the smallest i such that f(i) = n.

Terms

    a(0) =0a(1) =1a(2) =2a(3) =11a(4) =3a(5) =22a(6) =4a(7) =23a(8) =14a(9) =24a(10) =5a(11) =34a(12) =6a(13) =25a(14) =16a(15) =26a(16) =7a(17) =36a(18) =8a(19) =27a(20) =18a(21) =28a(22) =9a(23) =38a(24) =19a(25) =29a(26) =119a(27) =39a(28) =229a(29) =49

External references