OFFSET
1,1
LINKS
Harry J. Smith, Table of n, a(n) for n = 1..100
MATHEMATICA
Do[a = Table[3, {n} ]; k = 0; While[ b = FromDigits[ Join[ IntegerDigits[k], a]]; Mod[k, 10] == 3 || !PrimeQ[b], k++ ]; Print[b], {n, 1, 17} ]
PROG
(PARI) { for (n=1, 100, t=10^n; b=(t - 1) / 3; d=0; while(!isprime(b + t*d), d++; if (d%10==3, d++)); write("b065580.txt", n, " ", b + t*d) ) } \\ Harry J. Smith, Oct 23 2009
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Robert G. Wilson v, Nov 28 2001
STATUS
approved