MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Working modulo 2

  • To: mathgroup at smc.vnet.net
  • Subject: [mg92115] Re: Working modulo 2
  • From: Bill Rowe <readnews at sbcglobal.net>
  • Date: Sat, 20 Sep 2008 05:00:29 -0400 (EDT)

On 9/19/08 at 5:56 AM, me13013 at gmail.com (me13013) wrote:

>How does one reduce a polynomial's coefficients modulo 2?  For
>example, I have a function that sums several polynomials, and
>currently produces a result like this:
>7 + x + 4 y + 4 x y + 3 z + 2 x z + 4 y z + 4 x y z
>I want to reduce this to
>1 + x + z

In[5]:= PolynomialMod[
  7 + x + 4 y + 4 x y + 3 z + 2 x z + 4 y z + 4 x y z, 2]

Out[5]= x+z+1


  • Prev by Date: Re: Working modulo 2
  • Next by Date: How to show polynomial with leading order at the left of the line?
  • Previous by thread: Re: Working modulo 2
  • Next by thread: Re: Working modulo 2