I have problem with my homework in C++

There is number n and numbers a1, a2, ... , an ( n<100 ) And I need to get thous number pairs, that are mutual prime.

Also I need to use function, that calculates two number mutual primes. :S

Recommended Topics