function to find and print co - prime pair
static void pairSum ( int n ) { int mid = n / 2 ; for ( int i = mid ; i >= 1 ; i -- ) { if ( coprime ( i , n - i ) == true ) { Console . Write ( i + " ▁ " + ( n - i ) ) ; break ; } } }