The Goodstein function records the least step at which the Goodstein sequence from a given initial number reaches zero. With the initial step numbered zero, its values on are . Goodstein's theorem makes this effective termination-time function total.
New to topics? Read the docs here!