Is (2n-1)! Always a Square Modulo 2n+1?

  • Thread starter Thread starter killerinstinct
  • Start date Start date
  • Tags Tags
    Arithmetic
killerinstinct
Messages
92
Reaction score
0
Show that (2n-1)! is always a square modulo 2n+1.
:cry:
 
Mathematics news on Phys.org
what do you know about legendre's symbol?
 
I'd treat it as two separate cases.

Case 1: (2n+1) is non-prime.

In this case it is easy show that every prime factor of (2n+1) must be contained in (2n-1)! and hence the remainder is zero (a perfect square).



Case 2: (2n+1) is prime.

Let prime p = (2n+1).

By Wilson's Thm (see link), (p-1)! = (p-1) : modulo p

(p-2)!(p-1) = (p-1) : mod p

(p-2)! = 1 : mod p

Hence the remainder is always 1 (a perfect square) for this case.



In summary the remainder is always zero when (2n+1) is non-prime and is always one when (2n+1) is prime.


Link for Wilsons Thm
 
Last edited:
Quick errata :

In case 1 when I said, "it is easy show that every prime factor...", I have to admit that I was thinking specifically about non-repeated prime factors at the time, in which case the result really is trivial enough to be done "by inspection".

For the case where (2n+1) has repeated prime factors like q^m then you can use an argument along the lines of :

Assume (2n+1) has a prime factor of the form q^m, where q is prime >= 3 and m is integer >= 2.

BTW. Note that (2n+1) can't have 2 as a factor so we only need to look a 3 and greater. Also, since I'm looking specifically at the case of repeated factors I only need to consider m greater or equal to 2.

Since q^m is a factor then,
(2n+1) >= q^m
(2n-1) >= q^m - 2


But also it is easy to show that q^m - 2 > m*q for q>=3 and m>=2

Loosly what this means is that if (2n+1) has a repeated prime factor q^m then (2n-1)! has enough factors of the form q, 2q, 3q etc to "cover" it.
 
Last edited:
Legendre symbol? Heard of, but not know much about it. It could possibly explain this modular question?
 
thanks to uark for a detailed and well-given solution!
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
I'm interested to know whether the equation $$1 = 2 - \frac{1}{2 - \frac{1}{2 - \cdots}}$$ is true or not. It can be shown easily that if the continued fraction converges, it cannot converge to anything else than 1. It seems that if the continued fraction converges, the convergence is very slow. The apparent slowness of the convergence makes it difficult to estimate the presence of true convergence numerically. At the moment I don't know whether this converges or not.
Back
Top