Re: [sage-devel] Working with polynomials (at least trying to...)

2015-04-04 Thread Justin C. Walker
On Apr 4, 2015, at 17:25 , absinthe wrote: > Dear all, > > I'm trying to work with polynomials modulo x^N-1 whose coefficients belong > to Z_p (If it helps p is a power of a prime). I know that I'm doing > something wrong, but I cannot figure out what so any help is welcome. I'm not sure how

[sage-devel] Working with polynomials (at least trying to...)

2015-04-04 Thread absinthe
Dear all, I'm trying to work with polynomials modulo x^N-1 whose coefficients belong to Z_p (If it helps p is a power of a prime). I know that I'm doing something wrong, but I cannot figure out what so any help is welcome. p=32 N=100 ZZp. = PolynomialRing(Integers(p)) #find an element that can b