login
A390393
a(n) is the maximum size of a subset A of {1,...,n} such that Sum_{k in S} 1/k != 1 for all subsets S of A.
2
0, 1, 2, 3, 4, 4, 5, 6, 7, 8, 9, 10, 11, 12, 12, 13, 14, 15, 16, 16, 17, 18, 19, 19, 20, 21, 22, 22, 23, 24, 25, 26, 26, 27, 28, 29, 30, 31, 32, 33, 34, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 43, 44, 45, 46, 46, 47, 48, 49
OFFSET
1,3
COMMENTS
Erdős and Graham believed that a(n) = (1+o(1))*n, but Liu and Sawhney have proved that a(n) = (1 - 1/e + o(1))*n.
LINKS
Thomas Bloom, Problem 300, 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.
Yang P. Liu and Mehtaab Sawhney, On further questions regarding unit fractions, arXiv:2404.07113 [math.NT], 2024.
Husnain Raza, Python program
Peter J. Taylor, Python program
PROG
(Python)
from math import prod
from itertools import combinations
def A390393(n):
s, t = [], set()
for l in range(1, n+1):
for p in combinations(range(1, n+1), r=l):
m = prod(p)
if sum(m//d for d in p)==m:
s.append(c:=set(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
Sequence in context: A356991 A083058 A374843 * A290082 A127035 A325106
KEYWORD
nonn,hard,more
AUTHOR
Husnain Raza, Nov 04 2025
EXTENSIONS
a(30)-a(50) from Peter J. Taylor, Nov 08 2025
a(51)-a(59) from Chai Wah Wu, Nov 23 2025
STATUS
approved