OFFSET
0,4
COMMENTS
We use the notation [n] = {0, 1, ..., n-1}. If S is a subset of [n] then we define the distset of S (set of distances of S) as {|x - y|: x, y in S}. We call a subset S of the natural numbers self-measuring if and only if S = distset(S).
LINKS
Winston de Greef, Table of n, a(n) for n = 0..3305
PROG
(SageMath)
def A350105List(len):
L = [0] * len
b, z = 2, 2
for n in (2..len-1):
b += sloane.A000005(n - 1)
z += z
L[n] = z - b
return L
print(A350105List(35))
CROSSREFS
KEYWORD
nonn
AUTHOR
Peter Luschny, Dec 16 2021
STATUS
approved