Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
%I #12 Oct 16 2014 14:06:37
%S 5,15,705,2795,14105,18645,38547,43485,53915,57957,62417,76287,82355,
%T 94445,96657,145937,162605,178817,180677,184877,193625,234017,238887,
%U 256557,261017,287835,297815,334007,339525,346425,387297,399387,407145,417597,418845,419147
%N Numbers, p, that generate the prime quadruplets p^2-2p+2k (for k = -2, -1, 1, 2).
%C For a subset of this list, restricted only to primes, see A247845.
%e 5 is in the sequence as it generates the prime quadruplet 5^2-2*5-4=11; 5^2-2*5-2=13; 5^2-2*5+2=17; and, 5^2-2*5+4=19.
%o (PARI) lista(nn) = {vk = [-2, -1, 1, 2]; for (p = 2, nn, nb = 0; for (k = 1, 4, nb += isprime(p^2-2*p+2*vk[k]);); if (nb == 4, print1(p, ", ")););} \\ _Michel Marcus_, Sep 26 2014
%Y Cf. A247845 (subsequence of primes).
%K nonn
%O 1,1
%A _Ray G. Opao_, Sep 25 2014
%E More terms from _Michel Marcus_, Sep 26 2014