Nicolas Mascot on Tue, 16 Feb 2021 22:29:14 +0100
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
- To: pari-users@pari.math.u-bordeaux.fr
- Subject: Re: jacobi symbol
- From: Nicolas Mascot <mascotn@maths.tcd.ie>
- Date: Tue, 16 Feb 2021 21:29:06 +0000
- Delivery-date: Tue, 16 Feb 2021 22:29:15 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=maths.tcd.ie; h= content-language:content-type:content-type:in-reply-to :mime-version:user-agent:date:date:message-id:from:from :references:subject:subject:received:received:received; s= 20150418; t=1613510948; x=1615325349; bh=3gNn6iJk6Y21gvHP8QX1SQB QyLFaCc1b6zLzlhhFZbs=; b=s650b/fw2LbxJPEraHcfcMWKJ4IiJSH5HlWGvqe D7j7YmdvilAAuYUov3N3ThJC3y19FF5N10CE1nBJLHvWpwGxkp7LsM7lMExXsL2b SYwKD7rfvznxGyHCXNHzqLG15dRA1VJXubrarobaRYUZUgqPnaQvKQ70Ejh48Og5 FrIA=
- In-reply-to: <CA+1Xo7xPWMKnGMsuQWZR8J95Hxd4MmGi5ZY8o1uTnoE3pMpH9A@mail.gmail.com>
- References: <CA+1Xo7xPWMKnGMsuQWZR8J95Hxd4MmGi5ZY8o1uTnoE3pMpH9A@mail.gmail.com>
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1
Good evening!
There is a command for the Kronecker
symbol. I often confuse it with the Jacobi symbol, but if I am not
mistaken, the Kronecker symbol generalises the Jacobi symbol. To
be safe, here is what the documentation says:
kronecker(x,y):
Kronecker symbol (x|y), where x and y must be of type integer. By
definition, this is the extension of Legendre symbol to Z x Z by
total multiplicativity in both arguments with the following
special rules for y = 0, -1 or 2:
* (x|0) = 1 if |x|= 1 and 0 otherwise.
* (x|-1) = 1 if x >= 0 and -1 otherwise.
* (x|2) = 0 if x is even and 1 if x = 1,-1 mod 8 and -1 if x =
3,-3 mod 8.
Best regards,
Nicolas
On 16/02/2021 20:59, jean-pierre
Cherdieu wrote:
hi every body,
does someone know if there is a command to compute the
jacobi symbol.
sincerely,