NumberFieldNormRepresentatives
NumberFieldNormRepresentatives[a, m] gives a list of representatives of classes of algebraic integers of norm ±m in the field ℚ[a] generated by the algebraic number a.
Examples
NumberFieldNormRepresentatives[Sqrt[5], 4]Please visit the official Wolfram Language Reference for more details.