## FANDOM

10,428 Pages

Booga- is a prefix used on a number n to indicate \(n\uparrow^{n-2}n\) or equivalently \(n\uparrow^{n-1}2\).[1] It may also be defined as "n n-ated to n" or equivalently "n n+1-ated to 2". The term was coined by Sbiis Saibian. It is equivalent to the sequence of Chihiro numbers, and is closely related to the Ackermann function and the Ackermann numbers. In Notation Array Notation, it can be expressed as \((n\{2,n-2\}n)\) or \((n\{2,n-1\}2)\).

Here are some examples:

• booga(1) = 1 + 1 = 2
• booga(2) = 2 × 2 = 4
• booga(3) = 33 = 27
• booga(4) is equal to 4444 or 44 or 4↑↑4, the famous megafuga(4).
• booga(5) = 5↑↑↑5 = 55555
• ...
• booga(googolplex) is called boogagoogolplex.

## Pseudocode

```function hyper(a, b, n):
if n = 1:
return a + b
result := b
repeat b - 1 times:
result := hyper(result, b, n)
return result

function booga(n):
return hyper(n, n, n)
```

## Sources

1. The Fz, The Fuga & The Megafuga