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.

A272815 Prime pairs of the form (p, p+16).

Original entry on oeis.org

3, 19, 7, 23, 13, 29, 31, 47, 37, 53, 43, 59, 67, 83, 73, 89, 97, 113, 151, 167, 157, 173, 163, 179, 181, 197, 211, 227, 223, 239, 241, 257, 277, 293, 331, 347, 337, 353, 367, 383, 373, 389, 433, 449, 463, 479, 487, 503, 541, 557, 547, 563, 571
Offset: 1

Views

Author

Vincenzo Librandi, May 07 2016

Keywords

Comments

p and p+16 are not necessarily consecutive primes: (1831, 1847) is the first pair of consecutive primes that belongs to the sequence.

Examples

			The prime pairs are (3, 19), (7, 23), (13, 29) etc.
		

Crossrefs

Cf. prime pairs of the form (p, p+k): A077800 (k=2), A094343 (k=4), A156274 (k=6), A156320 (k=8), A140445 (k=10), A156323 (k=12), A140446 (k=14), this sequence (k=16), A156328 (k=18), A272816 (k=20), A140447 (k=22).

Programs

  • Magma
    &cat [[p,p+16]: p in PrimesUpTo(1000) | IsPrime(p+16)];
  • Mathematica
    Flatten[{#, # + 16}&/@Select[Prime[Range[200]], PrimeQ[# + 16] &]]

Formula

a(2n+1) = A049488(n+1).