Cherry Kearton on Fri, 31 Jan 2003 14:00:06 +0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

ffinit


I want to work with finite fields, and in the PARI manual it says that ffinit is designed for this. Specifically it says "For instance if P = ffinit(3,2,y), you can represent elements in F3 2 as polmods modulo P." But if one sets
a=Mod(1,P)
then
a+a+a=Mod(3,P),
whereas I would expect Mod(0,P).

How is one supposed to deal with finite fields under GP?

Cherry Kearton


--
Dr Cherry Kearton, Reader in Pure Mathematics,
Department of Mathematical Sciences, University of Durham,
South Road, Durham, DH1 3LE, UK.

Direct line: +44 (0)191 374 2380
Fax:         +44 (0)191 374 7388
Email:       cherry.kearton@durham.ac.uk
URL:         www.maths.dur.ac.uk/~dma0ck/home.html