Conside the finite field F=GF(9),say,  and
the  polynomial ring F[x].

The elements of F are listed below.

sage: k.<a> = GF(9)

sage: for x in k:print x
0
2*a
a + 1
a + 2
2
a
2*a + 2
2*a + 1
1
sage: R = PolynomialRing(k,'x')
sage:
sage: x = R.0


We can  think of elements of k as integers from 0 to 8 :
0 <->0
2*a <->6
a + 1  <-> 4
a + 2  <-> 5
etc...


Now, (a+1) + x^2 is an element of F[x].
In Sage, is it possible to write the coeffcients as integers 0 to 8?
ie. Instead of (a +1) + x^2, can I write
                4 + x^2 ?

I have tried it  and it does not work.

sage: 4 + x^2
x^2 + 1
sage:


Thanks in advance for any assistance !
Shing


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to