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.

A245077 Largest k such that the smallest prime satisfying Goldbach's conjecture is less than or equal to (2n)^(1/k).

Original entry on oeis.org

2, 1, 1, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 3, 3, 2, 1, 3, 2, 3, 3, 2, 3, 2, 2, 3, 2, 2, 3, 3, 2, 2, 3, 2, 3, 3, 2, 2, 4, 2, 4, 2, 2, 4, 2, 2, 1, 4, 2, 4, 4, 2, 4, 4, 2, 4, 2, 2, 1, 2, 1, 1, 4
Offset: 2

Views

Author

Jon Perry, Jul 11 2014

Keywords

Comments

The 1's appear as in A244408.

Examples

			For n=5 we have 3+7=10. As rt3(10)<3<sqrt(10), a(5)=2.
		

Crossrefs

Programs

  • PARI
    for (n=2, 100, p=2; while(!isprime(2*n-p), p=nextprime(p+1)); k=1; while(p<=(2*n)^(1/k), k++); print1(k-1", ")) \\ Jens Kruse Andersen, Jul 12 2014

Extensions

Definition corrected by Jens Kruse Andersen, Jul 12 2014