Proving Finite Squares in n!+n^p-n+2 for p=3,5 (mod8)

  • Thread starter Thread starter Funky1981
  • Start date Start date
  • Tags Tags
    Finite Squares
Funky1981
Messages
21
Reaction score
0

Homework Statement



How to prove the following:

Let p be a prime p=3,5 (mod8). Show that the
sequence n!+n^p-n+2 contains at most finitely many squares.

Should I build a contardiction or prove it directly? I really need some help


2. The attempt at a solution
Use Fermats Little we have n^p-n=0 (mod p) then n!+n^p-n+2=n!+2(mod p)
how should i keep going??
 
Physics news on Phys.org
Funky1981 said:

Homework Statement



How to prove the following:

Let p be a prime p=3,5 (mod8). Show that the
sequence n!+n^p-n+2 contains at most finitely many squares.

Should I build a contardiction or prove it directly? I really need some help 2. The attempt at a solution
Use Fermats Little we have n^p-n=0 (mod p) then n!+n^p-n+2=n!+2(mod p)
how should i keep going??

To keep going you should notice that if n>=p then n!=0(mod p) so n!+n^p-n+2=2(mod p). Now if you can show 2 is NOT a quadratic residue of p, then for n>=p, that expression cannot be a square.
 
Last edited:
Dick said:
To keep going you should notice that if n>=p then n!=0(mod p) so n!+n^p-n+2=2(mod p). Now if you can show 2 is NOT a quadratic residue of p, then for n>=p, that expression cannot be a square.

Thank u so much!
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top