OFFSET
1,2
EXAMPLE
3 is not a term, since 1 and two are the starting numbers, and 1+2=3.
7 is not a term, since 1+2+4 is 7, with 4 being the next of the smallest numbers.
MATHEMATICA
a[1] = 1; a[2] = 2; a[n_] := a[n] = Module[{k = a[n-1] + 1, s = Join[Total /@ Partition[#, 2, 1], Accumulate[#]]& @ Array[a, n-1]}, While[MemberQ[s, k], k++]; k]; Array[a, 70] (* Amiram Eldar, Jan 18 2026 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Leo Hennig, Jan 17 2026
STATUS
approved
