We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.

Epsilon/Eta Function

From Esolang
Jump to navigation Jump to search

The Eta Function is a function defined as E(n, m) where n is decremented repeated and m is raised to itself until n = 0. Then, the value of m is passed as the result. This is its primitive form.

E.nm{[n=0]?m=.n-1m^mE.nm=}

Repetition-Based Eta

The RBE introduces a new variable, k. Every time n = 0, k is decremented and the value of m is passed into both n and m until k = 0, where the value of m is returned.

E.knm{[k=0]?m=.[n=0]?k-1n=m.m^mE.knm=}