OFFSET
1,1
LINKS
David A. Corneth, Table of n, a(n) for n = 1..10000 (Terms 1..100 from David Consiglio, Jr.)
David A. Corneth, PARI-prog
Borys Kuca, Structures in Additive Sequences, arXiv:1804.09594 [math.NT], 2018. See V(2,3).
MATHEMATICA
Nest[Append[#, Function[{m, s}, First@ SelectFirst[Tally[s], And[First@ # > m, Last@ # < 3] &]] @@ {Max@ #, Sort[Total /@ Tuples[#, {2}]]}] &, {2, 3}, 57] (* Michael De Vlieger, Apr 27 2018 *)
PROG
(PARI) \\ See PARI link \\ David A. Corneth, Apr 27 2018
(Python)
terms = [2, 3]
while len(terms) < 100:
print(len(terms))
options = []
for x in range(len(terms)):
for y in range(x, len(terms)):
options.append(terms[x]+terms[y])
for y in sorted(options):
if options.count(y) == 1 and y > max(terms):
terms.append(y)
break
for x in range(len(terms)):
print(str(x+1)+" "+terms[x])
# David Consiglio, Jr., Apr 18 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Michel Marcus, Apr 26 2018
EXTENSIONS
More terms from David Consiglio, Jr., Apr 26 2018
STATUS
approved