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.

A153135 Primes p such that 6*p - 7 is also prime.

This page as a plain text file.
%I A153135 #21 Sep 08 2022 08:45:39
%S A153135 2,3,5,11,13,19,23,29,31,41,43,53,59,61,71,73,79,83,101,109,139,149,
%T A153135 163,173,193,199,211,229,239,241,251,263,269,271,313,331,349,353,379,
%U A153135 401,409,431,433,449,491,503,521,563,569,613,631,643,653,659,683,691,733,743
%N A153135 Primes p such that 6*p - 7 is also prime.
%H A153135 Vincenzo Librandi, <a href="/A153135/b153135.txt">Table of n, a(n) for n = 1..1000</a>
%t A153135 lst={};Do[p=Prime[n];If[PrimeQ[6*p-7],AppendTo[lst,p]],{n,6!}];lst (* _Vladimir Joseph Stephan Orlovsky_, Dec 23 2008 *)
%t A153135 Select[Prime[Range[110]],PrimeQ[6#-7]&] (* _Harvey P. Dale_, Oct 25 2011 *)
%o A153135 (Magma) [n: n in [0..900] | IsPrime(n) and IsPrime(6*n - 7)]; // "or" [p: p in PrimesUpTo(900) | IsPrime(6*p - 7)]; // _Vincenzo Librandi_, Oct 20 2012
%Y A153135 Cf. A153245, A153134. - _Vladimir Joseph Stephan Orlovsky_, Dec 23 2008
%K A153135 nonn,easy
%O A153135 1,1
%A A153135 _Vincenzo Librandi_, Dec 21 2008
%E A153135 Corrected by _D. S. McNeil_, Dec 10 2010