关于avoiding capital gain tax, 这里说:
Keep in mind a few rules for this special exclusion:
It only applies to a home if it is your primary residence. It doesn’t apply to rental properties.
You must have lived in the home for at least two of the past five years. However, you don’t need to have lived in the home for two consecutive years.
You can only take advantage of this exclusion once every two years.
https://www.empower.com/the-currency/money/how-to-avoid-capital-gains-tax#:~:text=An%20easy%20and%20impactful%20way,the%20assets%20in%20the%20account
并不需要连续住两年。。。
另外问了chatgpt, 说是ira contribution 也能抵税。如果是,我可以用这个抵掉一些,毕竟房子便宜。