cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A186393 Numbers k such that there is 1 prime between 100*k and 100*k + 99.

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