OFFSET
1,2
COMMENTS
Strictly increasing sequence.
EXAMPLE
a(1)=1, a(2)=2, a(3)=4, pairwise sums=pws={3,5,6}; smallest m that has not yet appeared and is not divisible by any of pws is m=7 hence a(4)=7; now pws={3,5,6,8,9,11}; hence a(5)=13, etc.
MATHEMATICA
s={1, 2}; ps={3}; a=2; Do[Do[If[Mod[n, ps[[i]]]==0, Goto[ne]], {i, Length[ps]}]; a=n; ps=Union[Flatten[{ps, s+a}]]; AppendTo[s, a]; Label[ne], {n, 3, 1000}]; s
PROG
(PARI) {S=[]; for(n=1, 999, for(i=2, #S, for(j=1, i-1, n%(S[i]+S[j]) || next(3))); S=concat(S, n); print1(n", "))} \\ M. F. Hasler, Aug 30 2009
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, Jul 14 2009
EXTENSIONS
Terms corrected by M. F. Hasler, Aug 30 2009
STATUS
approved