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
Click For Summary
SUMMARY

The discussion focuses on proving that the sequence n! + n^p - n + 2 contains at most finitely many squares for prime values of p = 3, 5 (mod 8). The solution approach involves using Fermat's Little Theorem, which leads to the simplification n! + n^p - n + 2 ≡ n! + 2 (mod p). It is established that for n ≥ p, n! ≡ 0 (mod p), resulting in the expression being equivalent to 2 (mod p). The key conclusion is that if 2 is not a quadratic residue modulo p, then the expression cannot yield a square for n ≥ p.

PREREQUISITES
  • Understanding of Fermat's Little Theorem
  • Knowledge of quadratic residues in number theory
  • Familiarity with modular arithmetic
  • Basic concepts of factorials and their properties
NEXT STEPS
  • Research the properties of quadratic residues modulo prime numbers
  • Study advanced applications of Fermat's Little Theorem
  • Explore proofs involving factorials in modular arithmetic
  • Investigate the implications of sequences in number theory
USEFUL FOR

Mathematicians, students studying number theory, and anyone interested in advanced proofs involving modular arithmetic and quadratic residues.

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!
 

Similar threads

  • · Replies 15 ·
Replies
15
Views
4K
  • · Replies 13 ·
Replies
13
Views
4K
Replies
6
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 16 ·
Replies
16
Views
5K
  • · Replies 4 ·
Replies
4
Views
1K
Replies
15
Views
4K
  • · Replies 1 ·
Replies
1
Views
1K