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.
%I A094343 #38 Mar 16 2025 12:43:46 %S A094343 3,7,7,11,13,17,19,23,37,41,43,47,67,71,79,83,97,101,103,107,109,113, %T A094343 127,131,163,167,193,197,223,227,229,233,277,281,307,311,313,317,349, %U A094343 353,379,383,397,401,439,443,457,461,463,467,487,491,499,503,613,617,643 %N A094343 List of pairs of primes (p, q) with q - p = 4. %C A094343 The two primes p and p+4 are not necessarily consecutive primes (for that, see A111980). %C A094343 The pairs are listed in order, sorted by their smallest member. - _N. J. A. Sloane_, Dec 27 2019 %H A094343 Seiichi Manyama, <a href="/A094343/b094343.txt">Table of n, a(n) for n = 1..10000</a> %H A094343 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/CousinPrimes.html">Cousin Primes</a> %F A094343 a(2*n-1)=A023200(n). a(2*n)=A046132(n). %e A094343 The pairs are (3,7), (7,11), (13,17), etc. %t A094343 Flatten[{#,#+4}&/@Select[Prime[Range[200]],PrimeQ[#+4]&]] (* _Harvey P. Dale_, Apr 13 2011 *) %o A094343 (PARI) isok(n) = (isprime(n) && isprime(n+4)) || (isprime(n-4) && isprime(n)); \\ _Michel Marcus_, Aug 26 2013 %Y A094343 Almost identical to A111980. %Y A094343 Union of A023200 and A046132. %Y A094343 Cf. twin primes (A001097). %Y A094343 See also A000040, A111981, A001097. %Y A094343 For a gap of 6 (which initially is very common) see A140546. %K A094343 easy,nonn %O A094343 1,1 %A A094343 _Gerard Schildberger_, Jun 04 2004 %E A094343 Description was corrupted up during editing; correct description restored Aug 21 2005. %E A094343 a(3) = 7 added by _Vincenzo Librandi_, May 06 2016