3

Problem: Show that $(n!+1,(n+1)!+1)=1$.

My Attempt: Let $(n!+1,(n+1)!+1)=e$. Then: $$(n!+1,(n+1)!+1)=(n!+1,(n+1)!+1-((n+1)!+n+1)=(n!+1,-n)$$ $=(n!+1,n)\Rightarrow n=ek_1$ and $n!+1=ek_2$ for some $k_1$ and $k_2$ in $\mathbb{Z}$. Observe that $(n-1)!ek_1+1=ek_2\Rightarrow e(k_2-k_1(n-1)!)=1\Rightarrow e=1.$

Is this a valid proof? Thanks in advance!

Student
  • 9,196
  • 8
  • 35
  • 81

1 Answers1

4

$$(n! + 1, (n+1)! +1) = (n! + 1,n \cdot n!)$$ Obviously the two numbers are comprime. This is true, becasue if $p \mid n \cdot n! \implies p \mid n \text{ or } p \mid n!.$ In any case $p \mid n! + 1 - n! = 1$, meaning that they are coprime.

Stefan4024
  • 35,843