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.

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

Original entry on oeis.org

11, 17, 41, 67, 127, 191, 283, 367, 563, 599, 797, 877, 1087, 1171, 1217, 1447, 1523, 1741, 1847, 2081, 2351, 2909, 3019, 3299, 3761, 4153, 4421, 4567, 4787, 4943, 6229, 6323, 6361, 6661, 6863, 8117, 8233, 8389, 8527, 8761, 9319, 10009, 10457, 10589
Offset: 1

Views

Author

James Sellers, Sep 11 2000

Keywords

Examples

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

Crossrefs

Programs

  • Mathematica
    Prime[#]&/@Transpose[Select[Partition[Prime[Range[300]],2,1], Last[#]- First[#] == 2&]][[2]] (* Harvey P. Dale, Nov 29 2011 *)

Formula

From Amiram Eldar, Feb 14 2025: (Start)
a(n) = prime(A006512(n)).
a(n) = A151800(A151800(A057470(n))). (End)