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.

A213107 Primes p such that 2p^2-1, 3p^2-2, 4p^2-3, and 5p^2-4 are also prime.

This page as a plain text file.
%I A213107 #14 Sep 08 2022 08:46:02
%S A213107 17569,43781,70321,229561,251231,426131,426551,453289,635051,727201,
%T A213107 729791,741709,944689,981091,1015309,1078081,1128761,1228429,1231229,
%U A213107 1282961,1289149,1302349,1351099,1723481,1763159,1823779,2078339,2260889,2336519,2357879
%N A213107 Primes p such that 2p^2-1, 3p^2-2, 4p^2-3, and 5p^2-4 are also prime.
%C A213107 Subsequence of A213079: a(1) = 17569 = A213079(10) =A213078(44)= A106483(389) = A000040(2019).
%H A213107 Vincenzo Librandi, <a href="/A213107/b213107.txt">Table of n, a(n) for n = 1..740</a>
%t A213107 Select[Prime[Range[200000]], PrimeQ[2 #^2 - 1] && PrimeQ[3 #^2 - 2] && PrimeQ[4 #^2 - 3] && PrimeQ[5 #^2 - 4] &] (* _T. D. Noe_, Jun 06 2012 *)
%o A213107 (Magma) [p: p in PrimesUpTo(2500000) | forall{i*p^2-i+1: i in [2..5] | IsPrime(i*p^2-i+1)}]; // _Vincenzo Librandi_, Apr 08 2013
%Y A213107 Cf. A000040, A106483, A213078, A213079.
%K A213107 nonn,easy
%O A213107 1,1
%A A213107 _Zak Seidov_, Jun 05 2012