expand product (1-q^(n/2))(1+q^(n/2))(1+q^((n-1)/2)) from n=1 to 7