login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Numbers n such that the string k100000000001 is prime.
1

%I #12 Sep 08 2022 08:45:17

%S 14,17,24,51,54,62,89,114,116,147,159,167,170,173,180,201,233,240,249,

%T 252,254,270,285,296,317,332,350,353,362,369,371,390,399,410,423,431,

%U 446,468,479,485,497,536,543,551,564,570,573,581,585,608,609,612,654,656,683

%N Numbers n such that the string k100000000001 is prime.

%H Harvey P. Dale, <a href="/A105189/b105189.txt">Table of n, a(n) for n = 1..1000</a>

%e k=14 is in the sequence because k100000000001 = 14100000000001 is prime.

%e k=147 is in the sequence because k100000000001 = 147100000000001 is prime.

%t Select[Range[750],PrimeQ[#*10^12+100000000001]&] (* _Harvey P. Dale_, Sep 22 2016 *)

%o (Magma) [ n: n in [1..700] | IsPrime(Seqint([1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1] cat Intseq(n))) ]; // _Vincenzo Librandi_, Feb 03 2011

%K base,nonn

%O 1,1

%A _Parthasarathy Nambi_, Apr 11 2005