OFFSET
1,1
LINKS
Hans Havermann, Table of n, a(n) for n = 1..34589
Patrick De Geest, WONplate 122
Hans Havermann, List of possible number of consecutive primes for n = 1..293768
Carlos Rivera, Puzzle 46. Primes expressible as sum of consecutive primes in K ways, The Prime Puzzles and Problems Connection.
FORMULA
Prime(n) such that A307610(n) > 1. - Ray Chandler, Sep 21 2023
EXAMPLE
The prime 83, for example, is the sum of the five consecutive primes 11 + 13 + 17 + 19 + 23.
The prime 2011, for example, is the sum of the eleven consecutive primes 157 + 163 + 167 + 173 + 179 + 181 + 191 + 193 + 197 + 199 + 211. - Daniel Forgues, Nov 03 2011
MATHEMATICA
p = {}; Do[a = Table[ Prime[i], {i, n, 150}]; l = Length[a]; k = 2; While[k < l + 1, b = Plus @@@ Partition[a, k]; k++; p = Append[ p, Select[ b, PrimeQ[ # ] &]]], {n, 1, 149}]; Take[ Union[ Flatten[p]], 70]
m=5!; lst={}; Do[p=Prime[a]; Do[p+=Prime[b]; If[PrimeQ[p]&&p<=Prime[m]*3+8, AppendTo[lst, p]], {b, a+1, m+2, 1}], {a, m}]; Union[lst] (* Vladimir Joseph Stephan Orlovsky, Aug 15 2009 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Patrick De Geest, Feb 04 2002
EXTENSIONS
Offset changed to 1 by Hans Havermann, Oct 07 2018
STATUS
approved