Menu Close

Find-the-gcd-n-1-n-1-




Question Number 110463 by Rio Michael last updated on 29/Aug/20
Find the gcd(n−1,n+1)
Findthegcd(n1,n+1)
Commented by mr W last updated on 29/Aug/20
if n=odd then gcd(n−1,n+1)=2  if n=even then gcd(n−1,n+1)=1
ifn=oddthengcd(n1,n+1)=2ifn=eventhengcd(n1,n+1)=1
Commented by Rio Michael last updated on 29/Aug/20
thank you sir
thankyousir

Leave a Reply

Your email address will not be published. Required fields are marked *