OFFSET
1,1
LINKS
Donovan Johnson, Table of n, a(n) for n = 1..1000
P. De Geest, WONplate 122
C. Rivera, Puzzle 46
Eric Weisstein's World of Mathematics, Prime Sums
FORMULA
A084143(a(n)) > 2. - Ray Chandler, Sep 20 2023
EXAMPLE
240 = (113 + 127) = (53 + 59 + 61 + 67) = (17 + 19 + 23 + 29 + 31 + 37 + 41 + 43) or (#2,113) (#4,53) (#8,17).
MATHEMATICA
m=3*5!; lst={}; Do[p=Prime[a]; Do[p+=Prime[b]; If[p<Prime[m]*3+8, AppendTo[lst, p]], {b, a+1, m, 1}], {a, m}]; lst1=Sort[lst]; lst={}; Do[If[lst1[[n]]==lst1[[n+1]]&&lst1[[n]]==lst1[[n+2]], AppendTo[lst, lst1[[n]]]], {n, Length[lst1]-2}]; Union[lst] (* Vladimir Joseph Stephan Orlovsky, Aug 15 2009 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Patrick De Geest, Feb 04 2002
EXTENSIONS
Offset corrected by Donovan Johnson, Nov 14 2013
STATUS
approved