A105146 Numbers k such that the string k100001 is prime.
2, 6, 17, 23, 26, 38, 39, 42, 59, 63, 83, 89, 96, 102, 107, 117, 135, 144, 146, 153, 159, 174, 179, 182, 185, 189, 191, 192, 194, 201, 206, 230, 233, 237, 240, 245, 248, 249, 251, 252, 270, 279, 285, 287, 293, 299, 300, 318, 321, 329, 335, 339, 345, 350, 354, 356, 378, 387, 392
Offset: 1
Examples
k=2 is in the sequence because k100001 = 2100001 is prime. k=96 is in the sequence because k100001 = 96100001 is prime.
Programs
-
Magma
[ n: n in [1..400] | IsPrime(Seqint([1, 0, 0, 0, 0, 1] cat Intseq(n))) ]; // Vincenzo Librandi, Feb 03 2011