Ask Your Question
0

algebraic integer - PARI/GP

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

anonymous user

Anonymous

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

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 23:55:55 +0100 )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 +0100 )edit

2 Answers

Sort by » oldest newest most voted
1

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

John Cremona gravatar image

Why don't you ask the pari mailing list?

edit flag offensive delete link more
0

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

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

Stats

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

Seen: 711 times

Last updated: Dec 10 '13