%I #38 Mar 22 2024 03:46:17
%S 1559,2683,4133,10048,11400,12727,12800,13572,14223,14443,14514,14680,
%T 14913,15536,15619,16538,16557,17334,19043,20452,20465,20522,21162,
%U 21663,22440,22832,23055,23144,23214,23460,24833,25139,25278,25980,26207,26257,26702,26747,27536,27878,28448,28671,29180,29873,30212,30232
%N Numbers k such that there is 1 prime between 100*k and 100*k + 99.
%C There are 40 possible prime patterns for centuries having 1 prime. - _Tim Johannes Ohrtmann_, Aug 27 2015
%H T. D. Noe, <a href="/A186393/b186393.txt">Table of n, a(n) for n = 1..1000</a>
%e 1559 is in this sequence because there is 1 prime between 155900 and 155999 (155921).
%t Select[Range[31000],PrimePi[100 #+99]-PrimePi[100 #]==1&] (* _Harvey P. Dale_, Dec 16 2011 *)
%o (PARI) isA186393(n)=my(k=nextprime(100*n)); n=100*(n+1); k<n&nextprime(k+1)>n \\ _Charles R Greathouse IV_, Feb 21 2011
%Y Cf. A038822 (number of primes between 100n and 100n+99), A186311 (first occurrences).
%Y Cf. A181098 (no primes), A1863934-A186408 (2 to 16 primes), A186509 (17 primes), A361723 (18 primes).
%K nonn
%O 1,1
%A _Tim Johannes Ohrtmann_, Feb 20 2011
%E a(4)-a(46) from _Charles R Greathouse IV_, Feb 21 2011
|