Recursive calculation of an approximation to e using a formula proposed by the Ramanujan Machine see https://arxiv.org/abs/1907.00205
Expected output
Math.E 2.718281828459045
e(1) 2.0
e(2) 2.5
e(3) 2.6666666666666665
e(4) 2.7083333333333335
e(5) 2.716666666666667
e(6) 2.7180555555555554
e(7) 2.7182539682539684
e(8) 2.7182787698412696
e(9) 2.7182815255731922
e(10) 2.7182818011463845
e(11) 2.718281826198493
e(12) 2.7182818282861687
e(13) 2.718281828446759
e(14) 2.7182818284582297
e(15) 2.7182818284589945
e(16) 2.7182818284590424
e(17) 2.718281828459045
e(18) 2.718281828459045
e(19) 2.718281828459045