This list is not for support questions but for people (usually teachers or IT people) who want to develope Sage as a better educational tool. mSo this is the wrong place to ask this question.
Also, this sounds like an exercise in an Algebra 1 class:-) It is somewhat of an abuse of netiquette to ask other how to solve your homework problems. Getting back to your question though: One way to create a list of polynomials of degree <=5 over GF(7) is to write a for loop and use the roots method. (Type "f.roots?" for help.) Or you could use the factor method. Type "f.factor?" for help. If the list of factors has an element of degree 1 in it then you can append it to your list. The tutorial has a section on loops http://www.sagemath.org/doc/tut/tut.html. Hope this helps. On Sun, Dec 7, 2008 at 5:00 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > thanks for your help > my question is for all plonmoial <= > a > ax+b > ax^2+bx+c > .................. > ....................... > ............................ > ? > i will write my question again in diffrent way > I need to consturct all polynomial with degree <=5 with coefficient > in z/7z > and these polynomial have no zeros in z/7z. > thank you again for your reply > > On Dec 7, 11:48 pm, "David Joyner" <[EMAIL PROTECTED]> wrote: >> sage: R.<x> = PolynomialRing(IntegerModRing(5),"x") >> sage: f = 1-x+6*x^5; f >> x^5 + 4*x + 1 >> Type "PolynomialRing?" for more examples. >> >> (This is more of a question for sage-support than sage-edu.) >> >> On Sun, Dec 7, 2008 at 4:08 PM, [EMAIL PROTECTED] >> >> <[EMAIL PROTECTED]> wrote: >> >> > hallo >> > can someone tell me how to construct >> > polynomial with degree <=5 with cofficent in Z/7Z >> > ns >> > I tried to use this commands : >> > IntegerModRing >> > PolynomialRing >> > but i failed to construct it ?? > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sage-edu" group. To post to this group, send email to sage-edu@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-edu?hl=en -~----------~----~----~----~------~----~------~--~---