12
$\begingroup$

Is the number of elements we need to construct $x$ equal to $\log_2(x) + O(1)$?

This question is inspired by question 2 of the 2018 European Girls' Mathematical Olympiad. I previously posted it on math.stackexchange.

Any integer $x \ge 2$ can be written as a product of (not necessarily distinct) elements of the set $A = \{\frac21, \frac32, \frac43, \frac54, \ldots\}$, as can be seen from a simple telescoping argument. Let $f(x)$ be the minimum number of elements of $A$ required.

For example, $f(11)=5$ because $11 = \frac{33}{32} \cdot \frac{4}{3} \cdot \frac{2}{1} \cdot \frac{2}{1} \cdot \frac{2}{1}$ (or, alternatively, $11 = \frac{11}{10} \cdot \frac{5}{4} \cdot \frac21 \cdot \frac21 \cdot \frac21$), but $11$ cannot be written as the product of $4$ or less elements of $A$. And $f(43)=7$, because $43 = \frac{129}{128} \cdot \frac43 \cdot 2^5$ but $43$ cannot be written as the product of $6$ or less elements of $A$. In general, it seems difficult to compute $f(x)$ directly.

Clearly we have $f(xy) \le f(x) + f(y)$ for any $x,y \ge 2$. The EGMO question asks to show that this inequality is strict infinitely often (an example is $x=5$, $y=13$). Here we ask:

For integral $x \ge 2$, let $f(x)$ be the smallest $k$ so that $x$ can be written as product of $k$ elements of $\{\frac21, \frac32, \frac43, \ldots\}$.

Is it true that $f(xy) =f(x) + f(y) - O(1)$?

In other words, is the difference between $f(x)+f(y)$ and $f(xy)$ bounded?

Some observations:

  • $f(x) \ge \log_2(x)$ as $A$ has no elements larger than $2$;
  • if it were true that $f(x) = \log_2(x) + O(1)$, this would imply that the question above has a positive answer.
  • an upper bound for $f(x)$ is given by $\lfloor \log_2(x) \rfloor + s_2(x) - 1 \le 2 \log_2(x)$, where $s_2(x)$ is the sum of the digits of $n$ in binary. This upper bound is not sharp, as for $n=43$ it gives $5+4-1=8$, not $7$.
$\endgroup$
5
  • $\begingroup$ The following subquestion also seems interesting: how does the greedy algorithm perform in terms of finding a representation with few terms? I note that the first and last examples given are the result of the greedy algorithm. $\endgroup$ Commented Apr 22, 2018 at 7:47
  • 1
    $\begingroup$ Maybe it is worth adding to the question the result from the partial answer on math.stackexchange. For instance $f(x)\leq 2\log_2(x)$. $\endgroup$ Commented Apr 22, 2018 at 10:24
  • $\begingroup$ Added to the list of observations. $\endgroup$
    – user133281
    Commented Apr 22, 2018 at 10:33
  • $\begingroup$ One idea is to use a lower bound sieve to show that $kp^{\alpha}-1$ is an almost prime for a small choice of $k$ and then iterate. $\endgroup$ Commented Apr 23, 2018 at 4:54
  • $\begingroup$ Doesn't answer your question, but one can show that $f(x)$ is not $\log_2 x + O(1)$. This also suggests that $f(xy)$ is not $f(x) + f(y) -O(1)$. $\endgroup$
    – Lucia
    Commented Apr 23, 2018 at 16:35

0

You must log in to answer this question.

Browse other questions tagged .