OFFSET
1,2
LINKS
Giovanni Resta, Table of n, a(n) for n = 1..100
PROG
(PARI) a(n)=n--; my(A, B, C, D); sum(a=0, n, A=10^n+10^a+1; sum(b=a, n, B=A+10^b; sum(c=b, n, C=B+10^c; sum(d=c, n, D=C+10^d; sum(e=d, n, isprime(D+10^e)))))) \\ Charles R Greathouse IV, Jun 19 2015
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Zak Seidov, Jun 19 2015
EXTENSIONS
More terms from Alois P. Heinz, Jun 19 2015
STATUS
approved