Ask Your Question

Revision history [back]

One way to obtain x + f(x) is as follows:

sage: import sympy
sage: f = sympy.Function('f')
sage: g(x) = x
sage: f(x) + g(x)
x + f(x)

I'm not sure how to mix this with your finite field problem.