Number of subsets with GCD equal to ' i ' is pow ( 2 , add ) - 1 - sub
subsets [ i ] = ( 1 << add ) - 1 - sub NEW_LINE for i in range ( m ) : NEW_LINE print ( " Number ▁ of ▁ subsets ▁ with ▁ gcd ▁ % d ▁ is ▁ % d " % ( gcd [ i ] , subsets [ gcd [ i ] ] ) ) NEW_LINE