Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Get the mod value of large exponential towers
returns the value of an exponential integer tower of value n and height h, taken mod m.
in standard tetration notation. Find :
will not change for all h≥c, where c is a relatively small constant depending on n and m:
This means that even infinitely tall power towers have well-defined mod values for a given n, m.
Find the last 10 digits of the exponential tower 202120212021…, which is 1000 terms high:
In fact, you can see this will converge after reaching a height of 9:
This work is licensed under a Creative Commons Attribution 4.0 International License