Problem 42760. Find the gcm of n given values
Create a function that given n integer values greater than zero, finds the two numbers with the greatest common divisor and returns the gcm
Example
Input x = [1 10 13 50 26]
Output y = 13
Solution Stats
Problem Comments
Solution Comments
Show commentsGroup

Number Manipulation III
- 15 Problems
- 14 Finishers
- Convert integer to base26 using letters
- Convert float to base N
- Find the gcm of n given values
- Number construction I
- Number construction II
- Number construction III
- Integer complexity
- Integer complexity (Large numbers)
- Replace values out of an interval with the lower or upper values
- Convert decimal to binary and then generate the minimum binary it can with jumbling
- Binary Inversion
- Fill an array given a sum and array length values
- Test if two numbers have the same digits
- Sum the Digits of a Number
- Number of digits in an integer
Problem Recent Solvers50
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!