Proving the Formula: $\sum_{a=1}^{p-2} \left(\frac{a(a+1)}{p}\right) =\ -1$

  • Thread starter Vespero
  • Start date
  • Tags
    Formula
In summary, the conversation discusses proving the formula for the sum of Legendre symbols using properties of modular arithmetic and the Legendre symbol. It also explores the idea of using the number of consecutive quadratic residues and nonresidues to show that the sum of all Legendre symbols is -1.
  • #1
Vespero
28
0

Homework Statement



Prove the formula
[tex]\sum_{a=1}^{p-2} \left(\frac{a(a+1)}{p}\right) =\ -1 [/tex]

Homework Equations



[itex]\left(\frac{xy}{p}\right) = \left(\frac{x}{p}\right) \left(\frac{y}{p}\right) [/itex]

[itex]\left(\frac{x}{p}\right) \equiv x^{\frac{p-1}{2}}\ (mod\ p)[/itex] (Euler's Criterion)

and other basic properties of modular arithmetic and the Legendre symbol.

The Attempt at a Solution



For the first few p's, I calculated the values of the terms as

p=5 => 2,1,2
p=7 => 2,6,5,6,2
p=11 => 2,6,1,9,8,9,1,6,2
p=13 => 2,6,12,7,4,3,4,7,12,6,2

There is symmetry resulting from the fact that [itex]P = \{1, 2, ..., (p-2), (p-1)\}[/itex] can be rewritten as [itex]P = \{1, 2, ..., \frac{p-1}{2}, -\frac {p-1}{2}, ..., -2, -1\}[/itex].

Could I somehow show that the number of consecutive quadratic residues and consecutive quadratic nonresidues (which would each produce a quadratic residue and thus a Legendre symbol of 1 when multiplied together) is one less than the number of pairs containing a quadratic residue and a quadratic nonresidue together (which would produce a quadratic nonresidue and thus a Legendre symbol of -1 when multiplied together?
 
Physics news on Phys.org
  • #2
In other words, is there a way to show that the sum of all the Legendre symbols is -1? I think this would work since each consecutive pair of quadratic residues and quadratic nonresidues would have a Legendre symbol of 1, except for the two pairs on the end, which would have a Legendre symbol of -1. Any help is appreciated.
 

1. What is the formula for $\sum_{a=1}^{p-2} \left(\frac{a(a+1)}{p}\right)$?

The formula is $-\frac{1}{2}(p-1)$.

2. How is this formula derived?

This formula can be derived using properties of modular arithmetic and the fact that the sum of consecutive numbers can be expressed as a binomial coefficient.

3. What is the significance of this formula?

This formula is significant because it allows us to quickly calculate the sum of a specific series of numbers, which can be useful in various mathematical and scientific applications.

4. Can this formula be applied to any value of p?

No, this formula is only valid for prime numbers p greater than 2.

5. How can this formula be proven?

This formula can be proven using mathematical induction, where the base case is p=3 and the inductive step is used to show that the formula holds for all subsequent prime numbers.

Similar threads

  • Calculus and Beyond Homework Help
Replies
6
Views
2K
  • Calculus and Beyond Homework Help
Replies
15
Views
2K
  • Precalculus Mathematics Homework Help
Replies
1
Views
748
  • Calculus and Beyond Homework Help
Replies
7
Views
712
  • Precalculus Mathematics Homework Help
Replies
14
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
  • Precalculus Mathematics Homework Help
Replies
11
Views
1K
  • Calculus and Beyond Homework Help
Replies
8
Views
5K
  • Calculus and Beyond Homework Help
Replies
9
Views
1K
  • Precalculus Mathematics Homework Help
Replies
1
Views
1K
Back
Top