a(n) is the smallest m such that m < 10^n, 10^n + m is prime and if the natural number k is such that 1 < k < 10 and 3 doesn't divide k*10^n + m then k*10^n+m is prime.

A078728

a(n) is the smallest m such that m < 10^n, 10^n + m is prime and if the natural number k is such that 1 < k < 10 and 3 doesn't divide k*10^n + m then k*10^n+m is prime.

Terms

    a(0) =3a(1) =57a(2) =297a(3) =177a(4) =237a(5) =25111a(6) =231339a(7) =67419a(8) =273817a(9) =345111a(10) =2001753a(11) =912277a(12) =5236153a(13) =9228627a(14) =10599391a(15) =2835261a(16) =60120003a(17) =14054037a(18) =27923629a(19) =41783347a(20) =24590943a(21) =112161513a(22) =230484021a(23) =11446969a(24) =205242589a(25) =583389307a(26) =873650007

External references