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.

A078754 Numbers k such that for all m>k there are more than n primes between m and 2m (inclusive).

Original entry on oeis.org

1, 8, 14, 20, 21, 26, 33, 35, 48, 50, 51, 63, 74, 75, 81, 86, 90, 111, 114, 116, 119, 120, 128, 134, 140, 153, 155, 168, 174, 183, 186, 200, 204, 209, 215, 216, 219, 230, 243, 245, 249, 284, 285, 288, 296, 299, 300, 303, 320, 321, 323, 326, 329, 338, 354, 363
Offset: 1

Views

Author

Jason Earls, Jan 08 2003

Keywords

Comments

The terms shown are only conjectured values.

Examples

			a(3)=14 because for m>14, more than 3 primes always exist between m and 2m (inclusive).
		

Crossrefs

Cf. A035250.

Programs

  • PARI
    pn2n(n) = sum(k=n,2*n,if(isprime(k),1,0));
    mpn2n(a,m, w)=local(k,M); for(n=a,m, M=0; k=0; while(k