This is either a bug in the function ER(N) ("square root of N") or I might be
using the function outside its defined domain :
for N = -n^2 when n is even the results don't look right :
gap> ER(-4); 2 gap> ER(-36); 6
Jacob Hirbawi <JcbHrb@CERF.net>