OFFSET
1,1
COMMENTS
Partition the sequence of positive integers into groups of numbers that sum up to semiprimes: {1, 2, 3}, {4}, {5..8}, {9}, {10}, {11..15}, {16, 17}, {18..20}, {21}, {22}, {23..35}, {36..38}, {39}, {40..42}, {43, 44}, etc. Corresponding semiprimes are: 6, 4, 26, 9, 10, 65, 33, 57, 21, 22, 377, 111, 39, 123, 87, etc.
Is the sequence finite? See comment in A109411.
LINKS
Zak Seidov, Table of n, a(n) for n = 1..10000
MATHEMATICA
s=Range[300]; c=0; Label[1]; i=1; p=s[[1]]; While[i<Length[s]&&Plus@@Last/@FactorInteger[p]=/=2, i++; p=Plus@@Take[s, i]]; (*Print[{i, p}] ; *)c++; a[c]=p; s=Drop[s, i]; If[Length[s]>1, Goto[1]]; Table[a[j], {j, c}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, Sep 26 2007
STATUS
approved