I tried to come up with an ideal generated by two elements but additively generated by three elements and came up with the following ideal in the following ring.
However, this ring feels too complicated for what I set out to do. Is there an easier example of an ideal that's generated by two elements but additively generated by three elements?
First, let me define my ring $A$ as $\mathbb{Z}$ together with $\boxed{2}, \boxed{3}, \boxed{4}, \boxed{8}$, with $\boxed{1}$ being the same as $1$.
Let me also define the map $f : A \to \mathbb{Z}$ as $k\boxed{m} \mapsto km$, e.g. $f(4\boxed{3} + 2\boxed{8} + 7) = 35$.
Let me define multiplication of the new unknowns in the following way:
- $\boxed{m}\boxed{n} = \frac{mn}{2}\boxed{2}$ if $mn$ is even.
- $\boxed{m}\boxed{n} = \frac{mn}{3}\boxed{3}$ otherwise.
So $\boxed{3}\boxed{8} = 12\boxed{2}$ and $\boxed{3}\boxed{3} = 3\boxed{3}$.
I argue that this multiplication rule is associative by noting that $\boxed{m}\boxed{n}\boxed{r} = \frac{mnr}{2}\boxed{2}$ when $mnr$ is even or $\frac{mnr}{3}\boxed{3}$ when $mnr$ is odd.
Let's examine the ideal $I = (\boxed{3}, \boxed{4})$.
$I$ is not principal.
If $I$ were principal, it would need to be generated by some $a$ such that $f(a) = 1$, since $\boxed{4}-\boxed{3}$ is in $I$.
And thus an element of $I$ would have the form:
$$ b_0 + b_1a + b_2aa + b_3a^3 + \cdots $$
However, any power of $a^n$ for $n \neq 1$ does not contain $\boxed{4}$ when written in normal form. Therefore $a$ must contain $\boxed{4}$ when written in normal form. Therefore $a$ is of the form $w + k \boxed{4}$. $f$ is multiplicative, so $f(a)$ must equal $1$. Thus $w=1$ and $k=0$ and thus $a = 0$, so $I$ must be the unit ideal which is a contradiction.
Thus, by contradiction $I$ is not principal.
I is also additively generated by $\{2\boxed{2}, \boxed{3}, \boxed{4}\}$.
I claim that $I$ cannot be additively generated by two elements.
As proof I note that $(2 \boxed{2}, \boxed{3}, \boxed{4})$ is isomorphic to a free Abelian group on three generators. This argument is kind of sketchy, I'm not sure how to make it better.
Thus $I$, an ideal of $A$, is generated by two elements but additively generated by three elements.