Proving gcd(nn!, n+1)=1 using prime factorization

  • Thread starter Thread starter youvecaughtme
  • Start date Start date
Click For Summary
SUMMARY

The discussion centers on proving that for any natural number n, the greatest common divisor (gcd) of n! + 1 and (n + 1)! + 1 equals 1. Participants conjecture that gcd(n! + 1, (n + 1)! + 1) = 1 and explore proof techniques, including induction. The simplification of the gcd expression to gcd(nn!, n! + 1) = 1 is highlighted, with suggestions to analyze the implications of prime factors dividing both terms. The conclusion emphasizes that if a prime divides both n! + 1 and (n + 1)! + 1, it must also divide their difference, leading to the proof.

PREREQUISITES
  • Understanding of factorial notation and properties
  • Familiarity with greatest common divisor (gcd) concepts
  • Basic knowledge of prime factorization
  • Induction proof techniques in mathematics
NEXT STEPS
  • Study the properties of factorials and their growth rates
  • Learn about the Euclidean algorithm for computing gcd
  • Explore advanced induction techniques in number theory
  • Investigate the implications of prime factorization in gcd problems
USEFUL FOR

Mathematicians, students studying number theory, and anyone interested in advanced proof techniques related to gcd and factorials.

youvecaughtme
Messages
5
Reaction score
0

Homework Statement


For any [itex]n \in \mathbb{N}[/itex], find [itex]\mathrm{gcd}(n!+1,(n+1)!+1)[/itex]. First come up with a conjecture, then prove it.

2. The attempt at a solution
By testing some values, it seems like [itex]\mathrm{gcd}(n!+1,(n+1)!+1) = 1[/itex]

I'm trying to prove this by induction. I'll leave out the inductive assumption and base case verification because I can do those.

I have [itex]\mathrm{gcd}(n!+1,(n+1)!+1) = 1[/itex] and I'm trying to show that [itex]\mathrm{gcd}((n+1)!+1,(n+2)!+1) = 1[/itex].

I can simplify what's given to me to [itex]\mathrm{gcd}(nn!, n!+1)=1[/itex] but I can't find out how to get it into the form I want it. Can anybody look at what I'm doing and give me any guidance?

[itex]\mathrm{gcd}(n!+1,(n+1)!+1) = 1 \implies \mathrm{gcd}(n!+1,(n+1)n!+1) = 1 \implies \mathrm{gcd}(n!+1,nn!+n!+1) = 1 \implies \mathrm{gcd}((n)n!, n!+1) = 1[/itex]
 
Physics news on Phys.org
I wouldn't bother with induction here.

Try to argue as follows. If a prime divides both n!+1 and (n+1)!+1, it will divide their difference. What does this imply?
 

Similar threads

  • · Replies 22 ·
Replies
22
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 13 ·
Replies
13
Views
1K
Replies
5
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K