|
|
A133605
|
|
Elements of A011185 that are also the sum of a pair of distinct elements of A011185.
|
|
2
|
|
|
3, 5, 8, 13, 21, 74, 95, 182, 212, 413, 862, 1060, 1435, 1934, 4447, 5323, 7588, 19934, 23725, 24970, 29558, 43344, 45425, 48622, 55240, 63835, 91336, 98178, 177387, 180356, 206088, 333837, 400924, 418503, 429115, 598604, 776150, 990510, 993089
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
A011185 is the sequence of smallest numbers such that the pairwise sums of distinct elements are all distinct.
|
|
LINKS
|
|
|
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
|
|
|
STATUS
|
approved
|
|
|
|