Hello Volker,
in 5.29.1 we have another bug now (new):
(%i26) gf_set(2,1);
(%o26) [1,x]
(%i27) gf_exp(0,1);
(%o27) 1
On Mon, Dec 10, 2012 at 10:33:56PM +0100, Volker van Nek wrote:
> In case of exponent = 1 gf_-functions use corresponding zn_-functions.
>
> zn_-functions also allow non-prime moduli. E.g.
>
> (%i7) zn_primroot(14);
> (%o7) 3
> (%i8) zn_order(3, 14);
> (%o8) 6
> (%i9) totient(14);
> (%o9) 6
>
Good to see that; hope it makes it also into the documentation.
Greetings
Oliver
--
Dr. Oliver Kullmann
Department of Computer Science
College of Science, Swansea University
Faraday Building, Singleton Park
Swansea SA2 8PP, UK
http://cs.swan.ac.uk/~csoliver/