(38G) Kronecker (Quadratic Character) Symbol
|
03-20-2015, 08:15 AM
(This post was last modified: 06-18-2023 03:51 AM by Gerald H.)
Post: #1
|
|||
|
|||
(38G) Kronecker (Quadratic Character) Symbol
Edit: Updated definition of (0,-1) to be 1 rather than 0.
The Kronecker symbol is a generalization of the Jacobi symbol, itself a generalization of the Legendre symbol. The Legendre symbol (a/b) returns 1 if a is a quadratic residue of b, -1 if not & 0 if the GCD(a,b)>1, b an odd prime. The Jacobi symbol allows b to be the product of odd primes & then returns results as for the product of the individual Legendre symbols of the factors of b. The Kronecker symbol allows b to be any integer. Input to the programme: { a , b } returns 1, -1 or 0. Remember: the Kronecker symbol does NOT indicate a quadratic residue if it returns 1. The individual prime factors may have Legendre symbols of -1 & -1, ie their product is 1, which the Kronecker symbol returns. Code: Ans►L1: |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)