[R] Legendre symbols

From: Robin Hankin <r.hankin_at_noc.soton.ac.uk>
Date: Tue 02 May 2006 - 17:44:59 EST


Hi

before I reinvent the wheel, has anyone coded up the Legendre symbol (a/p)?

[
If p is an odd prime number and a is an integer, then the Legendre symbol
(a/p) is:

[courtesy Wikipedia]

]

I might also need Jacobi's generalization of this.

--
Robin Hankin
Uncertainty Analyst
National Oceanography Centre, Southampton
European Way, Southampton SO14 3ZH, UK
  tel  023-8059-7743

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Wed May 03 01:07:30 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Wed 03 May 2006 - 02:09:59 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.