OFFSET
2,1
FORMULA
EXAMPLE
a(6) = 56 = 3 + 5 + 7 + 11 + 13 + 17. (2 + 3 + 5 + 7 + 11 + 13 is prime so not a member of this sequence.)
MATHEMATICA
With[{prs=Prime[Range[500]]}, Table[SelectFirst[Total/@Partition[ prs, n, 1], CompositeQ], {n, 2, 50}]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, May 15 2019 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Claudio Meller, Jun 22 2009
STATUS
approved