UPDATE: I'll be updating this code on a GitHub repository. I've modified some of the functions to make them more conducive to Taylor series.

https://github.com/JmsNxn92/Recursive_Tetration_PARI

Mike's graphing tool is there too; if you want to make graphs.

Hey, everyone!

So I'm fairly satisfied with my code at this point. There are no glaring errors, and it admits 200 digit precision if you need it. The code is a little shoddy, in how to call the functions. But everything is working as it should, regardless the slight awkward gait it has. Before I attach the code (at the bottom); I'll remind what these functions are and do.

To begin, I constructed a family of asymptotic solutions to tetration using infinite compositions. These functions can be denoted,

Which are holomorphic for . This family satisfies the equation,

From here, we insert an error term such that,

This produces a solution to the tetration Abel/superfunction equation; and each of these functions are periodic with period . So as these will be real-valued with ; they will be periodic, and will have a wall of singularities on the boundary of their period. These functions are included in the code dump.

From here, we want to take a new asymptotic solution, which we write . Then, the basic principle, is that the tetration we want is,

For a normalizing constant (I haven't normalized the code yet, but , I'm having trouble finding the constant exactly).

I've tried to add as much documentation as I can, but I'm wondering how much is really needed; a lot of the code is pretty self explanatory. The only difficult part is when trying to generate Taylor series, you have to be fairly careful. I explained as well as I could how to grab Taylor series. This is necessary for calculating near the real-line (but not on the real line). This is definitely not optimized though.

I'm surprised by how simply you can construct Tetration in Pari; all I really used was a couple for loops, and a couple if statements; and a whole swath of recursion. This is significantly more elementary than Sheldon's fatou.gp; so expect more glitches. I also have a strong feeling this is not Kneser's tetration. It appears to be diverging for large imaginary arguments; which can only happen if it isn't normal as the imaginary argument grows; which Kneser's solution tends to L.

Here's the tetration solution for and .

Here's the Taylor series of about for 100 terms and 100 precision. These Taylor series tend to converge pretty slow, even with 100 terms and 100 precision; nonetheless the radius of convergence will be 3 about 1; we're just seeing a very slow convergence. It's nice to see it diverging pretty evenly away from the center point though.

Here's the Taylor series about graphed over a smaller region. Taylor series converge slower in proximity to the singularity at . At least, that's how it seems. This is a box about where it converges. You can see it already diverging in the corners; chop that up to slow convergence because it's happening a tad early.

Any questions, comments are greatly appreciated.

Regards, James.

https://github.com/JmsNxn92/Recursive_Tetration_PARI

Mike's graphing tool is there too; if you want to make graphs.

Hey, everyone!

So I'm fairly satisfied with my code at this point. There are no glaring errors, and it admits 200 digit precision if you need it. The code is a little shoddy, in how to call the functions. But everything is working as it should, regardless the slight awkward gait it has. Before I attach the code (at the bottom); I'll remind what these functions are and do.

To begin, I constructed a family of asymptotic solutions to tetration using infinite compositions. These functions can be denoted,

Which are holomorphic for . This family satisfies the equation,

From here, we insert an error term such that,

This produces a solution to the tetration Abel/superfunction equation; and each of these functions are periodic with period . So as these will be real-valued with ; they will be periodic, and will have a wall of singularities on the boundary of their period. These functions are included in the code dump.

From here, we want to take a new asymptotic solution, which we write . Then, the basic principle, is that the tetration we want is,

For a normalizing constant (I haven't normalized the code yet, but , I'm having trouble finding the constant exactly).

I've tried to add as much documentation as I can, but I'm wondering how much is really needed; a lot of the code is pretty self explanatory. The only difficult part is when trying to generate Taylor series, you have to be fairly careful. I explained as well as I could how to grab Taylor series. This is necessary for calculating near the real-line (but not on the real line). This is definitely not optimized though.

I'm surprised by how simply you can construct Tetration in Pari; all I really used was a couple for loops, and a couple if statements; and a whole swath of recursion. This is significantly more elementary than Sheldon's fatou.gp; so expect more glitches. I also have a strong feeling this is not Kneser's tetration. It appears to be diverging for large imaginary arguments; which can only happen if it isn't normal as the imaginary argument grows; which Kneser's solution tends to L.

Here's the tetration solution for and .

Here's the Taylor series of about for 100 terms and 100 precision. These Taylor series tend to converge pretty slow, even with 100 terms and 100 precision; nonetheless the radius of convergence will be 3 about 1; we're just seeing a very slow convergence. It's nice to see it diverging pretty evenly away from the center point though.

Here's the Taylor series about graphed over a smaller region. Taylor series converge slower in proximity to the singularity at . At least, that's how it seems. This is a box about where it converges. You can see it already diverging in the corners; chop that up to slow convergence because it's happening a tad early.

Any questions, comments are greatly appreciated.

Regards, James.