OFFSET
1,1
COMMENTS
A011185 is the sequence of smallest numbers such that the pairwise sums of distinct elements are all distinct.
LINKS
Klaus Brockhaus, Table of n, a(n) for n = 1..75
EXAMPLE
PROG
(Python)
from itertools import count, islice
def A133605_gen(): # generator of terms
aset2, alist = set(), []
for k in count(1):
bset2 = set()
for a in alist:
if (b:=a+k) in aset2:
break
bset2.add(b)
else:
if k in aset2:
yield k
alist.append(k)
aset2.update(bset2)
CROSSREFS
KEYWORD
nonn
AUTHOR
Klaus Brockhaus, Sep 18 2007
STATUS
approved