Project Euler 65 - Convergents of e
Project Euler 65 - Convergents of e
Official link: https://projecteuler.net/problem=65
Official link: https://projecteuler.net/problem=65
I put the first 100 numbers of the continued fraction of e in a list and then I reversed it
We just need to do this for every number in the array and then sum the digits
Please input an integer (yourinput)
Code will output the sum of digits in the numerator of the yourinput-th convergent of the continued fraction for e