On Wednesday, September 27, 2017 at 6:33:47 PM UTC+1, Madhurima 
Mukhopadhyay wrote:
>
> The followimg code is giving me no results. I cannot understand the
> reason behind this
> p=297079
> K=GF(p)
> a1,a2,a3,h0,h1=var('a1 a2 a3 h0 h1')
> RHS= (x - a1)*(x - a2)*(x - a3)*(x^2+h1*x+h0)*(x^4 + 45948*x^3 +
> 55848*x^2 + 84717*x + 225935)
> Coeff = RHS.coefficients(x,sparse=
> False)
> solve([Coeff[ 7 ] == 0,Coeff[ 6 ] == 0,Coeff[ 5 ] == 0,Coeff[ 4 ] == 
> 0],h0,h1)
>

What do you expect here? 

Note that p and K have no influence on the polynomial system,
with parameters a1,a2,a3 and variables h0,h1 you are trying to solve. 
The system is linear in h0 and h1. A linear system with 2 variables and 4 
equations
typically will not have any solutions.

 

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to