OFFSET
1,2
COMMENTS
Erdős conjectured that a(n) = (1/2 + o(1))*n.
LINKS
Thomas Bloom, Problem 301, Erdős Problems.
P. Erdős and R. Graham, Old and new problems and results in combinatorial number theory, Monographies de L'Enseignement Mathématique (1980).
Erdős problems database contributors, Issue #152 linking Erdős problems to the OEIS.
Husnain Raza, Python program.
EXAMPLE
For n = 6, A cannot contain the set {2,3,6} as 1/2 = 1/3 + 1/6 or {1,2,3,6} as 1/1 = 1/2 + 1/3 + 1/6.
PROG
(Python)
from math import prod
from itertools import combinations
def A390394(n):
s, t = [], set()
for l in range(2, n):
for p in combinations(range(1, n+1), r=l):
m = prod(p)
a, r = divmod(m, sum(m//d for d in p))
if not r:
s.append(c:=set([a]+list(p)))
t |= c
l = len(t)
for i in range(l, -1, -1):
for d in combinations(t, i):
if not any(x.issubset(d) for x in s):
return n-l+i # Chai Wah Wu, Nov 23 2025
CROSSREFS
KEYWORD
nonn,hard,more
AUTHOR
Husnain Raza, Nov 04 2025
EXTENSIONS
a(1)-a(5) corrected by and a(30)-a(33) from Chai Wah Wu, Nov 23 2025
a(34)-a(38) from Chai Wah Wu, Dec 07 2025
STATUS
approved
