Since every reduced binary quadratic form with discriminant d corresponds to one class of ideals in the quadratic fields Q(d^(1/2))with d>0 , Is there an effective way to determine all reduced binary quadratic form with discriminant d or at least can we determine the number of reduced binary quadratic form with discriminant d ?