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.

A180946 Primes p such that p(i)*p(i+1)+p(i+2)+p(i+3) is a prime.

Original entry on oeis.org

5, 7, 11, 13, 29, 31, 37, 61, 67, 73, 89, 97, 103, 107, 139, 157, 167, 179, 181, 193, 233, 283, 349, 367, 409, 433, 569, 587, 599, 607, 619, 691, 743, 761, 769, 809, 823, 1021, 1039, 1051, 1151, 1201, 1291, 1319, 1361, 1373, 1399, 1481, 1483, 1499, 1549, 1567
Offset: 1

Views

Author

Carmine Suriano, Sep 27 2010

Keywords

Comments

There are twin primes in the sequence: e.g (29,31); (179,181); (1481,1483).
There are consecutive primes also: e.g. (29,31,37); (1663,1667); (1777,1783).

Examples

			a(5)=29 since 29*31+37+41=977 is a prime.
		

Crossrefs

Programs

  • Mathematica
    Transpose[Select[Partition[Prime[Range[260]],4,1],PrimeQ[#[[1]]#[[2]]+ #[[3]]+ #[[4]]]&]][[1]] (* Harvey P. Dale, Jan 01 2012 *)

Extensions

Inserted 1021 to 1201 - R. J. Mathar, Oct 23 2010