Even though the distribution represents your 2022 RMD, it’s includible in gross income in 2023, the year in which it is received. What’s more, the 2023 distribution must be taken by December 31, 2023, so there will be two distributions taxed in the same year.
Writing off an investment in intangible assets over the projected life of the assets.