小喵 🐈 says to YSITD
S ( 1 - r ) = a0 ( 1 - r ^ ( n + 1 ) )