First time here? Check out the FAQ!
answered 2015-02-01 18:57:36 +0100
The problem is that your ais not an algebraic integer (though its norm is 1). Following on from your code :
a
sage: a.is_integral() False sage: a.minpoly() x^2 - 3/2*x + 1