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.

A034965 Primes that are sum of five consecutive primes.

This page as a plain text file.
%I A034965 #32 Oct 06 2019 18:15:36
%S A034965 53,67,83,101,139,181,199,263,311,331,373,421,449,587,617,647,683,733,
%T A034965 787,811,839,863,941,991,1123,1151,1193,1361,1381,1579,1609,1801,1831,
%U A034965 1861,1949,1979,2081,2113,2143,2221,2273,2297,2357,2423,2459,2689,2731
%N A034965 Primes that are sum of five consecutive primes.
%H A034965 Harvey P. Dale and Syed Iddi Hasan, <a href="/A034965/b034965.txt">Table of n, a(n) for n = 1..10000</a> (first 1000 terms from Harvey P. Dale)
%e A034965 53 = 5 + 7 + 11 + 13 + 17.
%e A034965 373 = 67 + 71 + 73 + 79 + 83.
%p A034965 ts_prod_n:=proc(n) local i,ans; ans:=[ ]: for i from 1 to n do if isprime(ithprime(i)+ithprime(i+1)+ithprime(i+2)+ithprime(i+3)+ithprime(i+4))= 'true' then ans:=[op(ans), ithprime(i)+ithprime(i+1)+ithprime(i+2)+ithprime(i+3)+ithprime(i+4) ]: fi od: end: ts_prod_n(701); # _Jani Melik_, May 05 2006
%t A034965 Select[Table[Plus@@Prime[Range[n, n + 4]], {n, 200}], PrimeQ] (* _Alonso del Arte_, Dec 30 2011 *)
%t A034965 Select[Total/@Partition[Prime[Range[200]],5,1],PrimeQ] (* _Harvey P. Dale_, May 24 2012 *)
%Y A034965 Cf. A001043, A011974, A034707, A152468. Also Cf. A034964, of which this sequence is a subset.
%K A034965 nonn
%O A034965 1,1
%A A034965 _Patrick De Geest_, Oct 15 1998
%E A034965 Corrected example by _Paul S. Coombes_, Dec 29 2011