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.

A059925 Numbers n such that {n, n+2, n+6, n+8, n+30, n+32, n+36, n+38} are all prime.

This page as a plain text file.
%I A059925 #37 Dec 29 2024 20:24:19
%S A059925 1006301,2594951,3919211,9600551,10531061,108816311,131445701,
%T A059925 152370731,157131641,179028761,211950251,255352211,267587861,
%U A059925 557458631,685124351,724491371,821357651,871411361,1030262081,1103104361,1282160021,1381201271,1427698631,1432379951,1443994001
%N A059925 Numbers n such that {n, n+2, n+6, n+8, n+30, n+32, n+36, n+38} are all prime.
%C A059925 Each term is the initial member of two prime quadruples (A007530) with the smallest possible difference of 30.
%H A059925 Jud McCranie and Sebastian Petzelberger, <a href="/A059925/b059925.txt">Table of n, a(n) for n = 1..10000</a> (first 1238 terms from Jud McCranie)
%H A059925 J. Brüggemann, <a href="http://ymmij.de/Nerd/p4/p4-2.pdf">The twins of prime quadruples up to 10^17</a> [71 MB].
%H A059925 D. La Pierre Ballard, <a href="http://www.teapro.com/fixpnq30.html">Prime Number Quadruplets 30 Apart</a>
%F A059925 a(n) = 2 (mod 21). - _Hugo Pfoertner_, Dec 29 2024
%t A059925 Select[Prime[Range[5582*10^4]],AllTrue[#+{2,6,8,30,32,36,38},PrimeQ]&] (* The program uses the AllTrue function from Mathematica version 10 *) (* _Harvey P. Dale_, Mar 13 2019 *)
%o A059925 (PARI) is(n)=my(v=[0,2,6,8,30,32,36,38]);for(i=1,8, if(!isprime(n+v[i]), return(0)));1 \\ _Charles R Greathouse IV_, Jun 18 2013
%Y A059925 Cf. A007530, A256842.
%K A059925 nonn
%O A059925 1,1
%A A059925 _Martin Raab_, Mar 03 2001
%E A059925 For clarity, replaced definition by a comment from _Charles R Greathouse IV_. - _N. J. A. Sloane_, Nov 26 2020