recursion - python 3.4 recursive formula for an infinity series -
here's formula want implement:
given x
, y
, define x+x^y
, continue: ... + (x**x**y)
that is: next term exponent of 2 anterior terms piling up.
so get:
x + [x**y] + [x**(x**y)] + [x**y]**[x**(x**y)] + ...
Comments
Post a Comment