(self)
return n*(n-1)/2
Returns the number of independent generators of D_n
Returns the number of independent generators of D_n
Returns the number of independent generators of D_n
def basis(self):
        """
        Returns the number of independent generators of D_n
        """
        n = self.n
        return n*(n-1)/2
def basis ( self ) : n = self . n return n * ( n - 1 ) / 2