OFFSET
1,1
COMMENTS
a(5) = 123...868788+1 (a 167-digit number). - Jon E. Schoenfield, Apr 26 2014
LINKS
Jinyuan Wang, Table of n, a(n) for n = 1..5
EXAMPLE
123457 is in sequence because 123456+1 = 123457 is prime.
MATHEMATICA
Select[Table[FromDigits[Flatten[IntegerDigits[Range[n]]]] + 1, {n, 1, 1000}], PrimeQ] (* Bruno Berselli, Apr 27 2014 *)
PROG
(Magma) c:=0; for d in [1..3] do m:=10^d; for n in [m div 10..m-1] do c:=c*m+n; t:=c+1; if IsPrime(t) then t; end if; end for; end for; // Jon E. Schoenfield, Apr 26 2014
(Magma) [t+1: n in [1..1000] | IsPrime(t+1) where t is Seqint(Reverse(&cat[Reverse(Intseq(k)): k in [1..n]]))]; // Bruno Berselli, Apr 27 2014
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Vincenzo Librandi, Apr 26 2014
STATUS
approved