A099082 Numbers k such that 1.2. ... .k-1.k + 2 is prime (dot between numbers means concatenation).
1, 5, 9, 11, 65, 159
Offset: 1
Examples
9 is in the sequence because 123456789 + 2 is prime.
Programs
-
Mathematica
n=0;Monitor[Parallelize[While[True,If[PrimeQ[2+ToExpression[StringJoin[ToString/@Table[k,{k,1,n}]]]],Print[n]];n++];n],n] (* J.W.L. (Jan) Eerland, Nov 19 2022 *)
Comments