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.

A126240 Primes p such that p = prime(n+3)=(prime(n+6)+prime(n))/2.

Original entry on oeis.org

11, 29, 31, 41, 71, 211, 251, 349, 439, 461, 751, 1031, 1051, 1289, 1291, 1609, 1667, 1723, 2113, 2417, 2423, 2503, 2579, 2711, 2903, 3079, 3919, 3967, 4153, 4271, 4591, 4759, 4951, 5051, 5399, 5693, 6173, 6361, 6451, 6691, 6733, 7229, 7541, 7559, 7793
Offset: 1

Views

Author

Artur Jasinski, Dec 21 2006

Keywords

Crossrefs

Programs

  • Mathematica
    Do[If[(Prime[n + 6] + Prime[n])/2 == Prime[n + 3], Print[Prime[n + 3]]], {n, 1, 3000}]
    Transpose[Select[Partition[Prime[Range[4000]],7,1],(First[#]+Last[#])/2==#[[4]]&]][[4]] (* Harvey P. Dale, Feb 16 2014 *)

Extensions

Extended by Ray Chandler, Dec 27 2006