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.

A023222 Primes p such that 6*p + 7 is also prime.

This page as a plain text file.
%I A023222 #26 Sep 08 2022 08:44:47
%S A023222 2,5,11,17,29,31,37,61,67,71,89,101,109,127,137,167,181,191,199,229,
%T A023222 241,257,269,277,281,311,331,337,347,359,379,389,397,419,431,457,491,
%U A023222 499,509,541,571,577,587,601,617,631,641,647,691,709,739,751,757,769,787,797,809
%N A023222 Primes p such that 6*p + 7 is also prime.
%H A023222 Vincenzo Librandi, <a href="/A023222/b023222.txt">Table of n, a(n) for n = 1..1000</a>
%t A023222 Select[Prime[Range[200]],PrimeQ[6#+7]&] (* _Harvey P. Dale_, Nov 25 2012 *)
%o A023222 (Magma) [n: n in PrimesUpTo(900) | IsPrime(6*n+7)]; // _Vincenzo Librandi_, Nov 19 2010
%o A023222 (PARI) is(n)=isprime(6*n+7) && isprime(n) \\ _Charles R Greathouse IV_, Apr 18 2020
%Y A023222 Intersection of A153218 and A000040.
%Y A023222 Cf. A153219.
%K A023222 nonn,easy
%O A023222 1,1
%A A023222 _David W. Wilson_