How to calculate
The smallest positive factor shared by all integers is 1. The next shared factor, when it exists, is the smallest prime factor of the greatest common divisor.
Worked example
Use Integers 12, 18, 30. The result is 1.
Input notes
Enter 2 to 15 nonzero integers, separated by commas or spaces.