The next term has 279 digits and is too large to include here.
Table of n, a(n) for n=1..5.
A056129: 1,2,6,3,1,1,3,1,9,7,3,3,1 ........
3 is prime
31 is prime
311 is prime
3113197 is prime
3113197331 is prime
Next one has 279 digits
Sequence in context: A236527 A108430 A113075 * A037785 A037589 A247351
Adjacent sequences: A111134 A111135 A111136 * A111138 A111139 A111140
Pierre CAMI, Nov 21 2005