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.

A176831 List of all primes p such that 2*A099609(2n-1)A099609(2n).

Original entry on oeis.org

5, 7, 11, 13, 23, 37, 59, 61, 83, 277, 359, 383, 397, 457, 479, 541, 563, 839, 863, 1201, 1237, 1283, 1319, 1321, 1619, 1621, 1657, 2039, 2063, 2099, 2459, 2557, 2579, 2857, 2903, 2963, 3217, 3863, 4057, 4177, 4259, 4261, 4283, 4621, 4679, 5099, 5101, 5581
Offset: 1

Views

Author

Juri-Stepan Gerasimov, Apr 27 2010

Keywords

Comments

Where A099609 is a naive list of twin primes (A077800 prefixed by 2,3).

Examples

			a(1)=5 because 2*A099609(2*1-1)=4<5(prime)<2*A099609(2*1)=6;
a(2)=7 because 2*A099609(2*2-1)=6<7(prime)<2*A099609(2*2)=10;
a(3)=11 and a(4)=13 because 2*A099609(2*3-1)<11(prime)<13(prime)<2*A099609(2*3).
		

Crossrefs

Programs

  • Mathematica
    Flatten@ Map[Select[Range @@ #, PrimeQ] &, 2 Select[Partition[#, 2, 1] &@ Prime@ Range@ 410, First@ Differences@ # <= 2 &]] (* Michael De Vlieger, Mar 18 2017 *)

Extensions

Entries checked by R. J. Mathar, May 10 2010