https://www.mathswithmum.com/finding-nth-term/
How to Find the Nth Term of an Arithmetic Sequence