OFFSET
1,2
COMMENTS
This sequence arises from Erdős Problem #321.
It is the maximum size of a subset S of {1..n} such that the sums of the reciprocals of the elements of any subset of S are all distinct.
Equivalently, there are no two disjoint subsets X, Y of S such that Sum_{x in X} 1/x = Sum_{y in Y} 1/y.
Terms 1..20 computed by epistemologist; terms 21..36 computed by Stijn Cambie; terms 37..54 computed by Cong Lu.
The sequence first diverges from A384927 at n = 21 (see Tao link).
LINKS
Thomas Bloom, Problem 321, Erdős Problems.
Cong Lu, Python code for generating terms
Terence Tao, Further computation of R(N) in #321, GitHub Issue #161 (2025).
EXAMPLE
For n=6, the set {1, 2, 3, 4, 5} has all distinct reciprocal sums, so a(6) >= 5.
If we attempt to include 6, we find that 1/2 = 1/3 + 1/6.
Thus, we must exclude an element from {2, 3, 6}, leading to a maximum size of 5.
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Cong Lu, Jan 10 2026
STATUS
approved
