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

65.38% Correct | 34.62% Incorrect
Last Solution submitted on Nov 25, 2024

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers60

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!