Ask Your Question

algebraic integer - PARI/GP

asked 2012-07-23 19:11:12 +0200

anonymous user


updated 2020-06-01 11:35:38 +0200

FrédéricC gravatar image

in sage you check if an algebraic number is an algebraic integer with is_integral. If I have a number(s) in an algebraic number field, and I want to check if it is an algebraic integers how do I do it in Pari/GP. Please help! Excuse me for using the forum for sage for questions about Pari/GP.

edit retag flag offensive close merge delete


I would consult the PARI/GP manual.

benjaminfjones gravatar imagebenjaminfjones ( 2012-07-24 23:55:55 +0200 )edit

You can use that an algebraic number is integral iff its minimal polynomial has integer coefficients. I believe that PARI's minpoly should give you the minimal polynomial starting from a polmod object.

daniels gravatar imagedaniels ( 2012-07-25 09:04:25 +0200 )edit

2 Answers

Sort by » oldest newest most voted

answered 2013-12-10 06:21:34 +0200

John Cremona gravatar image

Why don't you ask the pari mailing list?

edit flag offensive delete link more

answered 2012-07-23 19:45:23 +0200

paussse gravatar image

I mean like for example Mod(-1/27q^2 - 5/9q + 2/3, q^3 - 189*q + 189)

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2012-07-23 19:11:12 +0200

Seen: 615 times

Last updated: Dec 10 '13