Ask Your Question
0

algebraic integer - PARI/GP

asked 2012-07-23 12:11:12 -0500

anonymous user

Anonymous

updated 2015-01-14 03:35:02 -0500

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

Comments

I would consult the PARI/GP manual.

benjaminfjones gravatar imagebenjaminfjones ( 2012-07-24 16:55:55 -0500 )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 02:04:25 -0500 )edit

2 answers

Sort by » oldest newest most voted
0

answered 2012-07-23 12:45:23 -0500

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
0

answered 2013-12-09 23:21:34 -0500

John Cremona gravatar image

Why don't you ask the pari mailing list?

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

Stats

Asked: 2012-07-23 12:11:12 -0500

Seen: 278 times

Last updated: Dec 09 '13