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.

A158015 Primes p such that 6*p-1 is also prime.

This page as a plain text file.
%I A158015 #20 Feb 03 2024 00:53:47
%S A158015 2,3,5,7,17,19,23,29,43,47,53,59,67,103,107,109,113,127,137,157,163,
%T A158015 197,199,227,229,239,269,283,313,317,347,359,373,379,383,389,397,439,
%U A158015 443,449,457,463,467,523,569,577,593,599,613,617,647,653,709,733,743,773
%N A158015 Primes p such that 6*p-1 is also prime.
%H A158015 Vincenzo Librandi, <a href="/A158015/b158015.txt">Table of n, a(n) for n = 1..1000</a>
%t A158015 Select[Prime[Range[200]], PrimeQ[(6 # - 1)]&] (* _Vincenzo Librandi_, Apr 14 2013 *)
%o A158015 (Magma) [p: p in PrimesUpTo(800) | IsPrime(6*p-1)]; // _Vincenzo Librandi_, Apr 14 2013
%Y A158015 Cf. A005382 for the type 2p-1, A062737 for 4p-1, A158016 for 8p-1, A158017 for 10p-1.
%Y A158015 Primes in A024898, i.e., intersection of A024898 with A000040.
%K A158015 nonn,easy
%O A158015 1,1
%A A158015 _Roger L. Bagula_, Mar 11 2009
%E A158015 Edited by the Associate Editors of the OEIS, Apr 22 2009