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.

A211170 Primes that are sum of both three and five consecutive primes.

This page as a plain text file.
%I A211170 #15 Oct 24 2016 11:14:32
%S A211170 83,199,311,941,1151,1381,2357,3121,4337,4363,4957,5059,7039,8069,
%T A211170 8117,8161,8389,8627,8819,8971,9011,9349,10211,10253,13127,14813,
%U A211170 16249,19207,19717,21377,23143,24329,32983,34807,38113,39623,41141,44279,45061,45979,58403
%N A211170 Primes that are sum of both three and five consecutive primes.
%C A211170 Intersection of A034962 and A034965.
%H A211170 Donovan Johnson, <a href="/A211170/b211170.txt">Table of n, a(n) for n = 1..10000</a>
%e A211170 a(1) = 83 = A034962(6) = 23 + 29 + 31 = A034965(3) = 11 + 13 + 17 + 19 + 23.
%t A211170 Module[{prs=Prime[Range[3000]],pr3,pr5},pr3=Select[Total/@Partition[ prs, 3, 1], PrimeQ];pr5=Select[Total/@Partition[prs,5,1],PrimeQ];Intersection[ pr3,pr5]] (* _Harvey P. Dale_, Oct 24 2016 *)
%Y A211170 Cf.  A034962, A034965, A073681, A152468.
%K A211170 nonn
%O A211170 1,1
%A A211170 _Zak Seidov_, Jan 31 2013