TOPICS
Search

Dungeon Number


A dungeon number, also called a descending dungeon, is a value formed by iteration of a binary operation written with nested subscripts (Applegate et al. 2009). For real numbers a,b>1, write the decimal expansion of a as a=sum_(j=-infty)^(k)c_j10^j, choosing the expansion that is not eventually all 9s. Define

 a_b=sum_(j=-infty)^kc_jb^j,

where the c_j are decimal digits, c_k!=0, and k>=0. For b>1, the right side is a convergent series. Its value generally differs from a, since the same decimal digits are evaluated at a new base.

The placement of parentheses matters. For example, (19_(19))_(19)=46, whereas 19_((19_(19)))=37. By default, evaluation starts with the lowest subscript, so a three-entry dungeon is a_((b_c)) rather than (a_b)_c (Applegate et al. 2009).

Four integer sequences arise by taking the entries 10, 11, ..., n or the reverse order and evaluating from the bottom upwards or the top downwards. All four are indexed from n=10, with initial values as follows (Applegate et al. 2009).

entriesevaluationOEISinitial values
10, 11, ..., nbottom upwardsA12126310, 11, 13, 16, 20, 25, 31, 38, 46, 55, 65, ...
10, 11, ..., ntop downwardsA12126510, 11, 13, 16, 20, 30, 48, 76, 132, 420, 1640, ...
n, n-1, ..., 10bottom upwardsA12129510, 11, 13, 16, 20, 25, 31, 38, 46, 55, 110, ...
n, n-1, ..., 10top downwardsA12129610, 11, 13, 16, 20, 28, 45, 73, 133, 348, 4943, ...

For each of these four sequences, Applegate et al. (2009) proved

 log_(10)log_(10)s_n∼nlog_(10)log_(10)n

as n->infty, where s_n is its nth term and ∼ denotes asymptotic equivalence.


See also

Base, Decimal Expansion, Iteration

Explore with Wolfram|Alpha

WolframAlpha

More things to try:

References

Applegate, D.; Le Brun, M.; and Sloane, N. J. A. "Descending Dungeons and Iterated Base-Changing." In The Mathematics of Preference, Choice and Order: Essays in Honor of Peter C. Fishburn (Ed. S. J. Brams, W. V. Gehrlein, and F. S. Roberts). Berlin, Germany: Springer, pp. 393-402, 2009. https://doi.org/10.1007/978-3-540-79128-7_24.Numberphile. "Dungeon Numbers." Jul. 29, 2020. https://www.youtube.com/watch?v=xNx3JxRhnZE.Sloane, N. J. A. Sequences A121263, A121265, A121295, and A121296 in "The On-Line Encyclopedia of Integer Sequences."

Cite this as:

Weisstein, Eric W. "Dungeon Number." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/DungeonNumber.html

Subject classifications