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.

Graham's number

From Esolang
Jump to navigation Jump to search

A Graham's number is a very large number in googology that can test the computational abilities of languages. it is defined as G(64) where G is the graham's function, and the hyperoperator function is defined as

The number can be approximated as in the fast growing hierarchy, {3,64,1,2} in BEAF, and is approximately equal to using the Ackermann function with .

It can also be represented accurately by Gardner's arrow notation:

Implementations

node.js

h=(x,z,y)=>z?y?h(x,z-1n,h(x,z,--y)):x:x+y;G(n)=n?h(3n,G(--n)+2n,3n):4n;console.log(G(64n))