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.

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

This page as a plain text file.
%I A023225 #31 Sep 08 2022 08:44:47
%S A023225 5,11,13,19,23,31,41,43,59,61,71,83,103,109,113,149,151,173,179,199,
%T A023225 211,223,229,233,241,263,269,281,283,353,373,379,383,389,419,421,431,
%U A023225 433,439,479,499,503,541,563,569,571,593,613,619,631,641,643,683,709,719,739,761
%N A023225 Primes p such that 7*p + 6 is also prime.
%H A023225 John Cerkan, <a href="/A023225/b023225.txt">Table of n, a(n) for n = 1..10000</a>
%t A023225 Select[Prime[Range[2000]], PrimeQ[7 # + 6]&] (* _Vincenzo Librandi_, Feb 02 2014 *)
%o A023225 (Magma) [n: n in [0..1000] | IsPrime(n) and IsPrime(7*n+6)]; // _Vincenzo Librandi_, Nov 20 2010
%o A023225 (PARI) is(n)=isprime(7*n+6)&&isprime(n) \\ _Charles R Greathouse IV_, Jul 02 2013
%K A023225 nonn,easy
%O A023225 1,1
%A A023225 _David W. Wilson_