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.

A049492 Primes p such that p+4 and p+16 are also primes.

This page as a plain text file.
%I A049492 #22 Feb 02 2019 15:20:06
%S A049492 3,7,13,37,43,67,97,163,223,277,463,487,643,757,823,937,967,1087,1093,
%T A049492 1213,1303,1423,1483,1567,1597,1693,1873,2083,2137,2293,2377,2617,
%U A049492 2683,2953,3187,3343,3847,3907,4003,4447,4783,5503,5653,5923,6547,6967,6997
%N A049492 Primes p such that p+4 and p+16 are also primes.
%C A049492 All terms > 3 are == 1 (mod 6). - _Zak Seidov_, Sep 05 2014
%C A049492 Intersection of A023200 and A049488. - _Michel Marcus_, Sep 05 2014
%H A049492 Zak Seidov, <a href="/A049492/b049492.txt">Table of n, a(n) for n = 1..1000</a>
%e A049492 3, 3+4 = 7, 3+16 = 19 are all primes.
%t A049492 Select[Prime[Range[900]],And@@PrimeQ[#+{4,16}]&] (* _Harvey P. Dale_, Jan 17 2011 *)
%o A049492 (PARI) lista(nn) = forprime (n=1, nn, if (isprime(n+4) && isprime(n+16), print1(n, ", "))); \\ _Michel Marcus_, Sep 05 2014
%Y A049492 Cf. A023200, A049488, A049493.
%K A049492 nonn
%O A049492 1,1
%A A049492 _Labos Elemer_