The problem says "Find the generator for the ideal of $\mathbb{Z}[i]$ generated by $3 + 4i$ and $4 + 7i$."
I don't understand the question. It asks us to find the generator of the ideal, but then it tells us what the ideal is generated by.
Here is an attempted solution using the tip from kjo:
We are looking for the GCD of $3 + 4i$ and $4 + 7i$ in $\mathbb{Z}[i]$.
We will find it using a Guassian version of the Euclidean Algorithm.
$||3 + 4i|| = 25$ and $||4 + 7i|| = 65$
The GCD of these norms is 5. Any common divisor of our numbers $3 + 4i$ and $4 + 7i$ must divide $5$.
$5 = (2 + i)(2 - i)$
Calculate: $\frac{3 + 4i}{2 + i} = \frac{(3 + 4i)(2 - i)}{(2 + i)(2 - i)} = \frac{10 + 5i}{5} = 2 + i$
So $2 + i$ divides $3 + 4i$.
Calculate: $\frac{4 + 7i}{2 + i} = \frac{(4 + 7i)(2 - i)}{(2 + i)(2 - i)} = \frac{15 + 10i}{5} = 3 + 2i$
So $2 + i$ is the GCD of $3 + 4i$ and $4 + 7i$ so it is the generator for the ideal.
EDIT: I think I got it. I made some silly mistakes on my solution before. Thanks for the help everyone!