This is a too-long-for-a-comment supplement to Mike Earnest's answer to obtain simple upper and lower bounds on the cost.
We know that the cost for $i$ uses of the incrementor and $d$ uses of the doubler, the cost is:
$$
c=\frac{i(i+1)}{2} + 2^d - 1 \tag{1}
$$
And the maximum number of coins obtainable is:
$$
n = (i + 1) 2^d \tag{2}
$$
We can rearrange $(2)$ to get, for a given $n$ and $d$, the smallest $i$ that can get at least $n$ coins:
$$
i = \left\lceil\frac{n}{2^d}\right\rceil - 1
$$
(Where $\lceil\cdot\rceil$ is the ceiling function, i.e. "round up to the next integer.")
We can then substitute this into $(1)$ to get an (exact) expression for $c$ in terms of $n$ and $d$ only.
$$
c = \frac 1 2\left\lceil\frac{n}{2^d}\right\rceil\left(\left\lceil\frac{n}{2^d}\right\rceil - 1\right) + 2^d - 1 \tag{3}
$$
We can use the fact that $x\le\lceil x \rceil$ to bound $c$ from below:
$$
\frac 1 2\left(\frac{n}{2^d}\right)\left(\frac{n}{2^d} - 1\right) + 2^d - 1 \le c
$$
I'll substitute $\beta=2^d$ and expand:
$$
\frac{n^2} 2 \beta^{-2} - \frac n 2 \beta^{-1} + \beta - 1 \le c \tag {4}
$$
Minimize with respect to $\beta$ by setting the derivative to zero:
$$
-n^2\beta^{-3}+\frac n 2 \beta^{-2} + 1 = 0 \\
\beta^3 + \frac n 2\beta - n^2 = 0
$$
This equation is cubic in $\beta$, so its solution is a bit tedious; using Wikipedia's notation, we have:
$$
a=1,\ b=0,\ c=\frac n 2,\ d=-n^2 \\
\Delta = -4\cdot \frac{n^3}{8}-27\cdot n^4 = -n^3\left(27n+\frac 1 2\right) \\
\Delta_0 = -\frac 3 2 n \quad \Delta_1 = -27n^2 \\
\begin{align}
C &= \sqrt[3]{\frac{-27n^2 - \sqrt{27^2 n^4+4\frac{27}{8}n^3}}{2}} \\
&= \sqrt[3]{\frac{-27n^2 - 27n^2\sqrt{1+\frac 1 {54n}}}{2}} \\
&= -3n^{2/3}\sqrt[3]{\frac{1+\sqrt{1+\frac{1}{54n}}}{2}}
\end{align}
$$
At this point, notice that the expression inside the cube root is almost equal to $1$. If we take a first-order series expansion, we get:
$$
\begin{align}
\sqrt[3]{\frac{1+\sqrt{1+\frac{1}{54n}}}{2}} &\approx
\sqrt[3]{\frac{1+1+\frac{1}{108n}}{2}} \\
&\approx \sqrt[3]{1+\frac{1}{216n}} \\
&\approx 1+\frac{1}{648n} + O\!\left(n^{-2}\right)
\end{align}
$$
The non-constant terms are small enough that we can ignore them going forward.
Continuing with solving the cubic:
$$
\begin{align}
\beta &= -\frac 1 3\left(b+C+\frac{-3n}{2}\frac 1 C \right) = -\frac{C}{3} + \frac{n}{2C} \\
&\approx n^{2/3}-\frac{n}{6n^{2/3}} = n^{2/3}-\frac{1}{6}n^{1/3} \\
\end{align}
$$
We will need $\beta^{-1}$; we can compute a series approximation for it as well:
$$
\begin{align}
\beta^{-1} &\approx \frac{1}{n^{2/3}-\frac{1}{6}n^{1/3}} \\
&= \frac{n^{-2/3}}{1-\frac{1}{6n^{1/3}}} \\
&\approx n^{-2/3}\left(1+\frac{1}{6n^{1/3}}+\frac 1 {36n^{2/3}}\right) \\
&= n^{-2/3}+\frac{1}{6}n^{-1}+\frac 1 {36} n^{-4/3}
\end{align}
$$
Finally we substitute back into $(4)$ to get our lower bound:
$$
\frac{n^2} 2 \left(n^{-2/3}+\frac 1 6 n^{-1}+\frac 1 {36} n^{-4/3}\right)^2 - \frac n 2 \left(n^{-2/3}+\frac 1 6 n^{-1}\right) + \left(n^{2/3}-\frac 1 6 n^{1/3}\right) - 1 \le c \\
\frac 1 2 n^{2/3} + \frac 1 6 n^{1/3}+\frac 1 {72} + \frac 1 {36} - \frac 1 2 n^{1/3} - \frac 1 {12} + n^{2/3} - \frac 1 6 n^{1/3} - 1 \le c \\
\boxed{\frac 3 2 n^{2/3} - \frac 1 2 n^{1/3} - \frac{25}{24} \le c}
$$
Note the boxed statement is not completely accurate; I neglect the higher-order terms, which do decrease the "true" lower bound when taken into account. However, the next term is $\frac 1 {216}n^{-1/3}$, which becomes vanishingly small for large $n$, and the above bound holds for all $n\le 100\,000\,000$.
Here I'll repeat equation $(3)$:
$$
c = \frac 1 2\left\lceil\frac{n}{2^d}\right\rceil\left(\left\lceil\frac{n}{2^d}\right\rceil - 1\right) + 2^d - 1 \tag{3}
$$
If we bound the ceiling function from above by $\lceil x \rceil \lt x+1$, then $(3)$ becomes quadratic in $n$:
$$
c \lt \frac 1 2\left(\frac{n}{2^d}\right)\left(\frac{n}{2^d} - 1\right) + 2^d - 1 \\
= \frac 1 2 \left(\frac{n}{2^d}\right)^2 + \frac 1 2 \left(\frac{n}{2^d}\right) + 2^d - 1
$$
Every time $d$ increases by one, the parabola becomes twice as wide and moves up twice as high, intersecting the previous one. These intersection points are where it becomes advantageous to increase $d$ by one, and they will determine the upper bound. We'll look at the intersection between curve $d$ and $d+1$. Using the same $\beta$ substitution as before (but now with $2^{d+1}=2\beta$), we have:
$$
\frac{n^2}{2\beta^2}+\frac{n}{2\beta}+\beta-1 = \frac{n^2}{8\beta^2}+\frac{n}{4\beta}+2\beta-1 \\
\frac 3 8 n^2\beta^{-2}+\frac 1 4 n \beta^{-1} - \beta = 0 \\
\beta^3 - \frac 1 4 n \beta - \frac 3 8 n^2= 0
$$
We once again encounter our friend the cubic. I'll cut right to the chase, and tell you that the solution is:
$$
a = 1,\ b = 0,\ c = -\frac 1 4 n,\ d = -\frac 3 8 n^2 \\
\Delta = -\frac 1 {64} n^4 \left(243 - \frac 4 n\right) \\
\Delta_0 = \frac 3 4 n \quad \Delta_1 = - \frac {81}{8} n^2 \\
C \approx -\frac 9 2 \left(\frac n 3\right)^{2/3} + \frac 1 {486}\left(\frac n 3\right)^{1/3}\\
\beta \approx \frac {3} 2 \left(\frac n 3\right)^{2/3} + \frac 1 6 \left(\frac n 3\right)^{1/3} \\
\boxed{c \lt \frac 7 2 \left(\frac n 3\right)^{2/3} + \frac{13}{18} \left(\frac n 3\right)^{1/3} - \frac{28}{27}}
$$
The same caveats as before apply; the "actual" upper bound is slightly higher, but the difference becomes negligible for large $n$, and the bound holds for all $n\le 100\,000\,000$.