Problem 42704. prime to each other

Given two integers n1, n2 greater than 1, find out if they have common divisors or are prime to each other. Return "true" if they have common divisors and "false" if they are prime to each other.

Solution Stats

64.95% Correct | 35.05% Incorrect
Last Solution submitted on Mar 10, 2024

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers56

Suggested Problems

More from this Author2

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!