Below you can find the full step by step solution for you problem. We hope it will be very helpful for you and it will help you to understand the solving process.
If it's not what You are looking for type in the calculator fields your own values, and You will get the solution.
To get the Greates Common Factor (GCF) of 5000 and 120 we need to factor each value first and then we choose all the copies of factors and multiply them:
|5000: ||2||2||2|| ||5||5||5||5|
|120: ||2||2||2||3||5|| || || |
|GCF: ||2||2||2|| ||5|| || || |
The Greates Common Factor (GCF) is: 2 x 2 x 2 x 5 = 40