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!
 
Thread 'Use greedy vertex coloring algorithm to prove the upper bound of χ'
Hi! I am struggling with the exercise I mentioned under "Homework statement". The exercise is about a specific "greedy vertex coloring algorithm". One definition (which matches what my book uses) can be found here: https://people.cs.uchicago.edu/~laci/HANDOUTS/greedycoloring.pdf Here is also a screenshot of the relevant parts of the linked PDF, i.e. the def. of the algorithm: Sadly I don't have much to show as far as a solution attempt goes, as I am stuck on how to proceed. I thought...
Back
Top