35

Suppose for $a_1,a_2,\cdots ,a_n$, where $a_i$ is a positive integer $$\frac1{a_1}+\frac1{a_2}+\cdots+\frac1{a_n}=k$$, and $k$ is an integer. Is it true that there always exist $1\leq i_1<i_2<\cdots < i_m\leq n$, such that $$\frac1{a_{i_1}}+\frac1{a_{i_2}}+\cdots+\frac1{a_{i_m}}=1$$?

I couldn't find any counterexamples or prove that we can always find such subset.

2 Answers2

34

How about $\frac 13+4\cdot \frac 15+6\cdot \frac 17+\frac 1{105}=2$?

If we put them over a common denominator, it is $105$, so we need to find a subcollection of $1,21,21,21,21,15,15,15,15,15,15,35$ that sums to $105$. If we take all the ones ending in $1$ to get a multiple of $5$ we have $85$ and can't complete it. If we exclude all the ones ending in $1$ we are stuck again.

For a smaller list allowing repetitions, there is $\frac 12+2\cdot \frac 13+4\cdot \frac 15+\frac 1{30}=2$ I think eight terms will be hard to beat.

Added: We can find a set with no repetition. I find the reciprocals of $2,3,4,5,7,8,9,11,13,16,144,2574,30030$ add to $2$ and no subset of the reciprocals add to $1$.

Ross Millikan
  • 383,099
  • 5
    +1 What if the $a_i$ must be distinct? (Accepted answer, so this is not what the OP asked.) – Ethan Bolker Jul 20 '18 at 18:05
  • 1
    @EthanBolker: I was just starting to think about it. My thought is to start with $\frac 12+\frac 13+\frac 14+\frac 15=\frac {77}{60}$ and be greedy-take the largest reciprocal that avoids summing to $1$ but stays below or equal to $2$. We have to skip $\frac 16$ but there aren't that many to avoid, I think. – Ross Millikan Jul 20 '18 at 18:11
  • 3
    @RossMillikan: This seems to create a bit of a mess as more primes get introduced. But if we restrict to denominators having no prime factors greater than 7 the set of denominators $(2, 3, 4, 5, 7, 8, 9, 10, 12, 14, 16, 49, 35280)$ works. – Michael Lugo Jul 20 '18 at 18:40
  • 2
    @MichaelLugo Indeed, even with an entirely greedy strategy, I obtained the set $(2,3,4,5,7,8,9,10,11,12,16,1047,1138151,3145940416080)$. – LegionMammal978 Jul 20 '18 at 18:43
  • 4
    I went with the entirely-greedy strategy, saw 1138151, and thought "oh, these numbers are going to get too big, let's start over". If only I'd known that I only needed one more step... – Michael Lugo Jul 20 '18 at 19:17
  • So we have examples with $12$ (answer) and $13$ distinct (@MichaelLugo plus revised answer) fractions. The remaining questions are then proving the fewest and fewest distinct fractions. – Mark Bennet Jul 20 '18 at 19:23
  • @MarkBennet: I have added an example with only $8$ fractions including repetition. – Ross Millikan Jul 20 '18 at 19:52
  • Regarding distinct fractions, I have found via exhaustion that there are no solutions with $11$ or fewer fractions. I am still working on the $12$-fraction case. – LegionMammal978 Jul 20 '18 at 19:53
  • Thanks - I think you are right that will be hard to beat – Mark Bennet Jul 20 '18 at 20:17
  • Okay, just finished enumerating the $12$-fraction case by hand. $13$ distinct fractions are required. – LegionMammal978 Jul 20 '18 at 20:18
  • 1
    If $k=2$, as here, an additional way to prove that there is no suitable subcollection is to note that if a subset sums to 1, so also does its complement, so wlog our subset includes a particular $1/a_i$. – Rosie F Jul 21 '18 at 07:58
10

This is an expansion of @Michael Lugo's comment.

The proposition is not true even if all denominators have to be unique. A counterexample: $(2,3,4,5,7,8,9,10,12,14,16,49,35280)$.

Here is a Python program which checks that these numbers are different, and the sum of the reciprocals of these numbers is 2, and that there is no subset of these numbers, where the sum of the reciprocals of the numbers in the subset is 1:

import fractions, itertools
R = fractions.Fraction
D = (2,3,4,5,7,8,9,10,12,14,16,49,35280)
assert len(D) == len(set(D))  # All elements are different.
assert sum(R(1,d) for d in D) == 2  # Sum of reciprocals is 2.
for s in xrange(len(D) + 1):
  for e in itertools.combinations(D, s):
    assert sum(R(1,d) for d in e) != 1  # Sum of reciprocals in subset is not 1.
pts
  • 617
  • I ran that with my $D$. Does getting no output mean that all the assertions came out true? – Ross Millikan Jul 20 '18 at 19:39
  • @RossMillikan: Correct: no output means that assertions are true. Add assert 3 == 4 to the end of the program to get some output. – pts Jul 20 '18 at 19:45
  • Thanks. That worked. I had made a spreadsheet to check my set but appreciate an independent approach. – Ross Millikan Jul 20 '18 at 19:47