Investors & landlords

in short, because there was a gain on the first sale the purchase of these shares is ignored for the wash sale rules. there is no wash sale on the repurchase. since you sold the second lot as a loss but there are no purchases the count within the 30-day window of the second sale