What is the answer to 1+1/(2+1/(4+1/(8+....)))...) and 1+1/(2+1/(3+1/(4+....)))...). Please answer.

Louis RomaoSep 2, 2019You make a good point.I ran the program with 50 iterations and 100 iterations. There was no change in the values shown.I also figure that these answers may not be definitive, but showing the program and these results would be a conjecture to start with.I do wonder in what form the final answer should be. Are these results adequate, or is a mathematical expression necessary?

PhinehasSep 9, 2019Thanks. I am a programmer too and I have calculated it before, I just wanted to know the answer in terms of constants, roots, and operations. i.e. √.4.

cool name, cool picture.

Write in Proper Maths format please.

And What about the person who do NOT know programming.

And You took only 100 numbers, as these numbers are infinite.

You make a good point.

I ran the program with 50 iterations and 100 iterations. There was no change in the values shown.

I also figure that these answers may not be definitive, but showing the program and these results would be a conjecture to start with.

I do wonder in what form the final answer should be. Are these results adequate, or is a mathematical expression necessary?

Math.pow(2,x) is two raised to the x power. So Math.pow(2,3) would be 8.

Thanks. I am a programmer too and I have calculated it before, I just wanted to know the answer in terms of constants, roots, and operations. i.e. √.4.