Full threadjordigh·Here is another method I wrote where you compute in the Q[√5] field. It can be modified to work over Z[√5] as well:http://ideone.com/NWQe38View on HN