Get your taxes done using TurboTax

@elbee 

as you pointed out the Oct 16 purchase was 45 days after sept 1 so the sept 1 sale is unaffected.
you have a loss on the 100 sept 28 shares that is a wash sale loss because 200 share is equal or greater than 100 shares.
that loss is added to the basis of the 200 Oct 16 shares.

also as you pointed out, there is no concept of replacement shares.