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.

A186396 Numbers k such that there are 4 primes between 100*k and 100*k + 99.

Original entry on oeis.org

314, 356, 524, 662, 831, 881, 1037, 1101, 1124, 1307, 1370, 1433, 1623, 1713, 1733, 1755, 1801, 1808, 1831, 1880, 1956, 2031, 2150, 2178, 2202, 2222, 2231, 2330, 2374, 2502, 2503, 2532, 2545, 2611, 2618, 2656, 2659, 2665
Offset: 1

Views

Author

Tim Johannes Ohrtmann, Feb 20 2011

Keywords

Comments

There are 47878 possible prime patterns for centuries having 4 primes. - Tim Johannes Ohrtmann, Aug 27 2015

Examples

			314 is in this sequence because there are 4 primes between 31400 and 31499 (31469, 31477, 31481 and 31489).
		

Crossrefs

Cf. A038822 (number of primes between 100n and 100n+99), A186311 (first occurrences).
Cf. A181098 (no primes), A186393-A186408 (1 to 16 primes), A186509 (17 primes), A361723 (18 primes).

Programs

  • PARI
    for(n=1, 1e6, if(sum(k=100*n, 100*(n+1), ispseudoprime(k))==4, print1(n", "))); \\ Charles R Greathouse IV, Feb 21 2011
    
  • PARI
    N=100; s=0; forprime(p=2, 1e6, if(p>N, if(s==4, print1((N\100)-1, ", ")); s=1; N=100*(p\100+1), s++)) \\ Charles R Greathouse IV, Feb 21 2011