Project Euler 820 - Nth digit of Reciprocals

Official link: https://projecteuler.net/problem=820

Thought Process

Some research lands you on StackOverflow, which provides an equation to solve the problem.

Interactive Code

Input an integer (yourinput)

Code will output S(yourinput)