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.

A087293 Numbers k such that ((prime(k)*prime(k+1))^2 + 1)/2 is prime.

Original entry on oeis.org

2, 3, 6, 14, 27, 30, 35, 37, 44, 55, 101, 106, 118, 127, 137, 140, 154, 172, 184, 233, 248, 256, 260, 289, 383, 389, 425, 461, 463, 485, 500, 503, 513, 552, 584, 610, 617, 630, 642, 696, 706, 714, 737, 746, 819, 884, 926, 952, 964, 978, 1004, 1008, 1019, 1027
Offset: 1

Views

Author

Ray Chandler, Aug 31 2003

Keywords

Comments

Resulting primes are in A087294.

Examples

			2 is in the sequence because ((prime(2)*prime(3))^2 + 1)/2 = ((3*5)^2 + 1)/2 = 113 is prime.
		

Crossrefs

Programs

  • Mathematica
    Select[Range[1100],PrimeQ[((Prime[#]Prime[#+1])^2+1)/2]&] (* Harvey P. Dale, Mar 18 2022 *)

Extensions

Offset changed to 1 by Jinyuan Wang, Aug 06 2021