Find gcd(120,84,60)\gcd(120, 84, 60)gcd(120,84,60) (the GCD of three numbers). Which approaches correctly compute this?
gcd(120,84,60)=gcd(gcd(120,84),60)=gcd(12,60)=12\gcd(120, 84, 60) = \gcd(\gcd(120, 84), 60) = \gcd(12, 60) = 12gcd(120,84,60)=gcd(gcd(120,84),60)=gcd(12,60)=12
gcd(120,84,60)=gcd(120,gcd(84,60))=gcd(120,12)=12\gcd(120, 84, 60) = \gcd(120, \gcd(84, 60)) = \gcd(120, 12) = 12gcd(120,84,60)=gcd(120,gcd(84,60))=gcd(120,12)=12
gcd(120,84,60)=60\gcd(120, 84, 60) = 60gcd(120,84,60)=60 (the minimum of the three)
gcd(120,84,60)=2520\gcd(120, 84, 60) = 2520gcd(120,84,60)=2520 (the LCM, not GCD)