When to use Relatively Prime Calculator
Check whether two integers share any positive factor greater than one.
Use the result to check numerical work, simplify quantities or prepare inputs for another calculation.
How to use this tool
- Enter the inputs listed below. Follow the field format, and select units beside each supported quantity.
- Results update automatically. Review the main result and its breakdown. Use Clear to enter a new scenario.
- First integer
- Second integer
How it works
The two integers are relatively prime if their greatest common divisor equals 1.
Worked example
The examples below use fixed sample inputs. They explain the calculation and do not change when you edit the tool above.
- First integer
- 35
- Second integer
- 64
- Result
- Relatively prime
- Greatest common divisor
- 1
Understanding the result and its limits
Follow the supported number format. Some operations require integers or nonzero denominators; a decimal display may be rounded.
Frequently asked questions
Should I use a fraction or a rounded decimal?
Keep an exact fraction when later operations need precision. Round only the final display when a practical decimal answer is sufficient.
Methodology and references
Use the formulas and assumptions above when interpreting the example. Any practical estimate depends on the accuracy of the inputs.
- Further reading: OpenStax: mathematics reference