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.

A057470 Let prime(i) = i-th prime, let twin(n) = (P,Q) be n-th pair of twin primes; sequence gives prime(P).

Original entry on oeis.org

5, 11, 31, 59, 109, 179, 277, 353, 547, 587, 773, 859, 1063, 1153, 1201, 1433, 1499, 1723, 1823, 2063, 2341, 2897, 3001, 3259, 3733, 4133, 4397, 4549, 4759, 4933, 6217, 6311, 6353, 6653, 6841, 8101, 8221, 8377, 8513, 8747, 9293, 9973, 10433, 10559
Offset: 1

Views

Author

Cino Hilliard, Sep 10 2000

Keywords

Examples

			The 3rd pair of twin primes is twin(3) = (11,13), so a(3) = prime(11) = 31.
		

Crossrefs

Programs

  • Mathematica
    Prime/@Select[Partition[Prime[Range[300]],2,1],#[[2]]-#[[1]]==2&][[;;,1]] (* Harvey P. Dale, May 21 2023 *)

Formula

From Amiram Eldar, Feb 14 2025: (Start)
a(n) = prime(A001359(n)).
a(n) = A151799(A151799(A057473(n))). (End)

Extensions

More terms from James Sellers, Sep 11 2000