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

  • Thread starter Thread starter youvecaughtme
  • Start date Start date
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 3K views
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