|
|
A067373
|
|
Integers expressible as the sum of (at least two) consecutive primes in at least 3 ways.
|
|
2
|
|
|
240, 287, 311, 340, 371, 510, 660, 803, 863, 864, 931, 961, 990, 1012, 1060, 1099, 1104, 1151, 1164, 1236, 1313, 1320, 1367, 1392, 1524, 1643, 1650, 1710, 1788, 1793, 1854, 1951, 1956, 2040, 2303, 2304, 2387, 2393, 2436, 2507, 2556, 2586, 2647, 2670
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
FORMULA
|
|
|
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
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|