1 | initial version |
The problem seems to be that X
is a generator for the finite field on 9 elements, $\text{GF}(9)$, whereas R
is just the integers mod 9, $\mathbb{Z}_9$.
Perhaps what you want is
sage: K(X+5)
2 | fixed an error |
The problem seems to be that X
is a generator for the finite field on 9 elements, $\text{GF}(9)$, whereas R
is just polynomial ring over the integers mod 9, $\mathbb{Z}_9$.$\mathbb{Z}_9[x]$.
Perhaps what you want is
sage: K(X+5)
3 | corrected huge mistake |
The problem seems to be that Sorry my previous answer was completely wrong.X
is a generator for the finite field on 9 elements, $\text{GF}(9)$, whereas R
is polynomial ring over the integers mod 9, $\mathbb{Z}_9[x]$.
Perhaps what if you want isuse
sage: K(X+5)
y=R.gen()
and then
sage: R(y+5)
X+5