If GCD of the sequence is K
if ( GCDArr ( ans ) == k ) { Console . Write ( " [ " ) ; int m = ans . Count ; for ( int j = 0 ; j < m - 1 ; j ++ ) Console . Write ( ans [ j ] + " , ▁ " ) ; Console . Write ( ans [ m - 1 ] + " ] " ) ; return true ; }