This question is maybe linked to this other question.
We can prove using the density of some additives sub-groups of $\mathbb R$ that we can approach an integer with a rational of the form $\displaystyle \frac{2^a}{3^b}$.
For a given integer $n$, let's get interesting of the approximation of this form with $b \ge 0$ and $a$ minimal:
$$\left\lfloor \frac{2^a}{3^b}\right\rfloor=n \qquad b \ge 0 \text{ and } a \text{ is minimal},$$
where $\lfloor.\rfloor$ denotes the floor function.
The term minimal here is meaning that we are interesting in a couple $(a,b)$ like that, such that every other $(a',b')$ couple like that won't match the condition if $a'<a$.
Definition 1
We denote $(p_n)_{n\geq 1}$ the sequence defined by
$$\forall n\geq 1, \quad p(n):=a+b$$
where $a$ and $b$ are such that
$$\left\lfloor \frac{2^a}{3^b}\right\rfloor=n \text{ and } a \text{ is minimal}.$$
We call $p(n)$ the poids of $n$.
With that being said, let's look up at what this sequence look like.
- For $n$ from $1$ to $100$:
- For $n$ from $1$ to $1000$:
From these two first graphs of the poids $p$, we can see some kind of patterns. Which seems at the same time very regular and predictable, but also a little random, with holes and extra unexpected points.
But let's look up the sequence a little further.
- For $n$ from $1$ to $2000$:
We now see a huge explosion of the poids around $1000$, a pattern getting more and more regular on the bottom, and apparent randomness on the top. And something which look like a gap just a little before $2000$.
We must scale down to see the big picture.
- For $n$ from $1$ to $1000$:
What a different graph. There is a pattern of waves appearing now above the initial bottom (we can clearly see the $1000$ explosion now). The wave-pattern seems to get more regular with $n$ growing.
To understand if it goes like this forever, we need to scale down even more.
- For $n$ from $1$ to $22000$:
Now the wave-pattern is disappearing around $15000$ to another kind of pattern.
- For $n$ from $1$ to $24000$:
We have another explosion of the poids a little before $24000$.
Let's go further (but don't take credit of the $x$-axis, it is wrong, my bad... I couldn't display the full picture, computation starting to get really big at this point).
- For $n$ from $24000$ to $32000$:
I have personally trouble imagining we are looking at the very same sequence at this point. We know have two layers, just like we did right after the first explosion at $1000$. A very regular layer on the bottom, and some beautiful waves on the top. The waves gaining one "wave" each time they appear.
We want to look more precisely at the sequence, so we construct its values for $n\in [40000, 40500]$.
- For $n$ from $40000$ to $40500$:
Finally we highlighted the multiple of $2$, $3$, $5$, and $6$, and some interesting things can be observed. We also highlighted the prime numbers as a curiosity, but I found nothing from there.
- The multiples of $2$:
- The multiples of $3$:
- The multiples of $5$:
- The multiples of $6$:
- The prime numbers:
Well, now that we had a good look at this amazing sequence, let's try to do some maths.
Here it is what I've proven so far (not much i fear, but I can send you proofs if requested).
Theorem 1
We have
$$\forall n\geq 1,\quad \log_2(n)\le p(n).$$
Which leads to:
Corollary 1
We have
$$p(n)\xrightarrow[n\to+\infty]{} +\infty.$$
But also:
Theorem 2:
We have
$$\forall k\geq 2,\quad p(k)= \min\{p(2k)-1\ ,\ p(2k-1)-1\}.$$
I haven't actually proven the following, but i do think it's true:
Theorem 3:
We have
$$\forall k\geq 2,\quad p(k)\leq p(3k)+1.$$
I have a lot of questions about this sequence, and I hope you do to. Anything which could help understand this sequence better, and any result about it would be much appreciated.
Edit
As requested, I am going to ask some specifics questions. Though any result would be great.
I think it would be natural to have a formula of the form
$$p(n)+p(m)\leq p(nm)$$
which would be valid "most of the time". I don't succeed in producing a proof though.
I would like to know what is the function being the better upper bound (it looks like a combinaison of several logarithms).
Finally, is there a reason why the sequence is regularly "exploding" (which it does around $1\, 000$ and $23\, 000$ for instance) ?
$n$ from 










