Hexation Calculator
Enter a positive integer base and a nonnegative integer argument. Larger results are displayed symbolically when exact expansion is impractical.
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.
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.
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, 1) = a
H(a, n) = P(a, H(a, n − 1))
Pentation is defined recursively using tetration:
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 ↑↑↑↑ 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 |
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.
Repeated multiplication.
Repeated exponentiation.
Recursive tetration.
Recursive pentation.
Hexation vs. Pentation
Pentation uses three up arrows:
Hexation uses four:
Hexation is the next operation in the hierarchy. It is recursively constructed using pentation.
Hexation vs. Tetration
Tetration is represented by two up arrows:
Hexation uses four:
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: ↑↑↑↑.