Hyperoperation Calculator

Hexation Calculator

Calculate and explore hexation, the hyperoperation immediately after pentation. Enter a positive integer base and a hexation level to see its four-arrow notation and an exact result when the number is small enough to calculate safely.

a ↑↑↑↑ n

Hexation Calculator

Enter a positive integer base and a nonnegative integer argument. Larger results are displayed symbolically when exact expansion is impractical.

Enter an integer from 1 to 10.
Enter an integer from 0 to 5. The argument is the second operand, not the arrow count.
Hexation notation
2 ↑↑↑↑ 2

Result
4

Exact integer result.

What Is Hexation?

Hexation is the operation following pentation in the standard hyperoperation hierarchy. It is represented by four up arrows in Knuth's up-arrow notation.

Tetration: a ↑↑ b
Pentation: a ↑↑↑ b
Hexation: a ↑↑↑↑ b

Each higher operation is recursively defined using the operation before it. Hexation therefore uses pentation, which itself uses tetration.

Important: The four arrows identify the operation. The input argument controls the level being evaluated. For example, in 2 ↑↑↑↑ 3, the arrow count remains four and the argument is three.

Hyperoperation Hierarchy

The hyperoperation hierarchy extends familiar arithmetic operations by repeatedly applying the previous operation. This page uses the convention in which addition is level 1.

Level Operation Notation Example
1 Addition a + b 2 + 3 = 5
2 Multiplication a × b 2 × 3 = 6
3 Exponentiation a ↑ b 2³ = 8
4 Tetration a ↑↑ b 2 ↑↑ 3 = 16
5 Pentation a ↑↑↑ b 2 ↑↑↑ 3 = 65,536
6 Hexation a ↑↑↑↑ b 2 ↑↑↑↑ 2 = 4

The arrow notation follows the common correspondence between Knuth's up arrows and the higher hyperoperations. Indexing conventions for hyperoperations can differ, so the recursive definitions on this page specify exactly which convention is being used.

Recursive Definition of Hexation

Let H represent hexation and P represent pentation. The convention used here is:

H(a, 0) = 1

H(a, 1) = a

H(a, n) = P(a, H(a, n − 1))

Pentation is defined recursively using tetration:

P(a, 0) = 1

P(a, n) = T(a, P(a, n − 1))

Here T(a,h) is tetration of base a and height h. The zero-level values are conventions that make the recursive definitions consistent.

Hexation Examples

The smallest examples show how the recursion works.

2 ↑↑↑↑ 0 = 1

2 ↑↑↑↑ 1 = 2

2 ↑↑↑↑ 2 = 2 ↑↑↑ 2 = 4

2 ↑↑↑↑ 3 = 2 ↑↑↑ 4

The third example is already much larger than the second. The fourth requires pentation with argument four, which is too large to expand as an ordinary decimal integer.

Hexation and Knuth's Up-Arrow Notation

Knuth's up-arrow notation represents operations that grow much faster than ordinary exponentiation. Each additional arrow introduces another recursive level.

Notation Operation
a ↑ b Exponentiation
a ↑↑ b Tetration
a ↑↑↑ b Pentation
a ↑↑↑↑ b Hexation
a ↑↑↑↑ b

The number of arrows determines the operation, while the second operand determines its argument.

Why Hexation Grows So Quickly

Each hyperoperation builds on the previous one. This creates an extremely rapid increase in magnitude as the operation level and argument increase.

Exponentiation
Repeated multiplication.
Tetration
Repeated exponentiation.
Pentation
Recursive tetration.
Hexation
Recursive pentation.
Computational note: Even arbitrary-precision integers cannot practically store many hexation results. This calculator limits exact evaluation and displays symbolic notation when the result exceeds its calculation limits.

Hexation vs. Pentation

Pentation uses three up arrows:

a ↑↑↑ b

Hexation uses four:

a ↑↑↑↑ b

Hexation is the next operation in the hierarchy. It is recursively constructed using pentation.

Hexation vs. Tetration

Tetration is represented by two up arrows:

a ↑↑ b

Hexation uses four:

a ↑↑↑↑ b

Hexation is two levels above tetration in the hierarchy, with pentation between them.

Related Summe.org Calculators

Frequently Asked Questions

What is hexation?

Hexation is the hyperoperation immediately after pentation. In Knuth's up-arrow notation, it is commonly represented by four up arrows: a ↑↑↑↑ b.

What comes before hexation?

Pentation comes immediately before hexation. Pentation uses three up arrows, while hexation uses four.

What is 2 ↑↑↑↑ 2?

Under the recursive convention used here, 2 ↑↑↑↑ 2 = 4. The second hexation argument reduces to 2 ↑↑↑ 2.

Is hexation bigger than tetration?

Yes. Hexation is two hyperoperation levels above tetration. It uses pentation recursively, whereas tetration uses exponentiation.

Can a computer calculate large hexation numbers?

Small cases can be calculated exactly, but many results become too large to store or display as ordinary decimal integers. Symbolic notation is more practical for these cases.

Is hexation the same as four-arrow notation?

Under the common Knuth up-arrow convention used on this page, hexation corresponds to four up arrows: ↑↑↑↑.