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.

A384299 Primes p such that p + 8, p + 12 and p + 20 are also primes.

This page as a plain text file.
%I A384299 #11 May 29 2025 21:54:32
%S A384299 11,59,89,389,479,1439,1559,1601,2531,2699,3209,3449,3911,5639,5849,
%T A384299 7529,8081,8669,10091,12269,12401,12899,13151,14411,14759,17021,19421,
%U A384299 21011,21851,22271,23189,25931,26099,28649,28859,31139,31469,33191,33569,36551,39659,40751,42689,43391,43781,44111
%N A384299 Primes p such that p + 8, p + 12 and p + 20 are also primes.
%C A384299 Initial members of prime quartets that correspond to the difference pattern [8, 4, 8].
%e A384299 p=89: 89+8=97, 89+12=101, 89+20=109 —> prime quartet: (89, 97, 101, 109).
%p A384299 q:= n-> andmap(i-> isprime(n+4*i), [0,2,3,5]):
%p A384299 select(q, [5+6*i$i=1..7351])[];  # _Alois P. Heinz_, May 29 2025
%t A384299 Select[Prime[Range[4591]],AllTrue[#+{8,12,20},PrimeQ]&] (* _James C. McMahon_, May 29 2025 *)
%Y A384299 Cf. A000040, A001223.
%Y A384299 Cf. A136162 [2, 4, 2], A052378 [4, 2, 4], A382810 [6, 4, 6].
%K A384299 nonn
%O A384299 1,1
%A A384299 _Alexander Yutkin_, May 25 2025