FANDOM


Bi-rowexponentiation refers to the function {a,b (1) 2}, using BEAF.[1]

In the fast-growing hierarchy, \(f_{\omega^omega}(n)\) corresponds to explodal growth rate.

PseudocodeEdit

Below is an example of pseudocode for explosion.

function bi-rowexponentiation(a, b):
    result := a
    repeat b - 1 times:
         result := hyperexponentiation(a,a,result)
    return result

function hyperexponentiation(a, b, n):
    result := a
    repeat b - 1 times:
        if n = 1:
            result := hyper(a,a,result+2)
        else:
            result := hyperexponentiation(a, result, n - 1)
    return result
function hyper(a, b (1) n):
    if n = 1:
        return a + b
    result := a
    repeat b - 1 times:
        result := hyper(a, b (1) n - 1)
    return result

Sources Edit

  1. Array Notation by Jonathan Bowers
Community content is available under CC-BY-SA unless otherwise noted.