Hi Lavinia, fresh_42
Still puzzling over this exercise ... but just a few thoughts ...
If ##5 \mid f^2## ... then since ##5## is prime, ##5 \mid f## ...Now ... ...
Showing that ##p \mid s## means showing that ##\sqrt{5}i \mid ( f+ g \sqrt{5}i )## ...
But if ##\sqrt{5} i \mid f## and ##\sqrt{5}i \mid g \sqrt{5}i## then ##\sqrt{5}i \mid ( f+ g \sqrt{5}i )## ... ...
BUT ... we certainly have ##\sqrt{5}i \mid g \sqrt{5}i## ... ...
We need to show ##\sqrt{5}i \mid f## ... but how ...
... ... we have that ##5 \mid f## ... but how do we use this, exactly ...Can you help further ...
Peter*** EDIT ***
Just some further thoughts on showing that ##\sqrt{5} i \mid f## ... ...
We have ##5 \mid f## where ##f \in \mathbb{Z}## ...
so ... ##f = 5y## where ##y \in \mathbb{Z}##
Thus ...
##f = \sqrt{5} \sqrt{5} y##
##= -i^2 \sqrt{5} \sqrt{5} y##
##= ( \sqrt{5} i ) ( \sqrt{5} i ) (-y)##
... ... hmmm ... not at all sure of this ... but it seems to indicate (demonstrate?) that ##\sqrt{5} i \mid f## ...Is that correct ... or am I sadly way off (it's late here in southern Tasmania ...

... )
Peter