Hello Math Stack Exchange Community,
I've been investigating an interesting pattern in the polynomial expansion of $(n + 1)^n$ when expressed in base $ n $, specifically the emergence of a consistent pattern where the leftmost digit is '2', and the rightmost two digits are '01', with the middle coefficients varying. This is observed for finite values of $ n $. My question revolves around understanding the behavior of this expression as $ n $ approaches infinity.
We know the following:
- $ n^n (1 + \frac{1}{n})^n = (n + 1)^n $
- $n^n$ shifts the decimal point of $ (1 + \frac{1}{n})^n $ $n$-many places to the right in base $n$, leaving the digits in tact
- $(n + 1)^n$ in base $n$ is ($n + 1$)-many digits (i.e. coefficients) long for all $n > 2$
- As $ n $ grows larger, $ (1 + \frac{1}{n})^n $ approaches Euler's number $ e $
- The constant $2 \ldots 01_n$ pattern reflects the symmetric $1_n$ and $10_n$ that bookend the expansion (as a consequence of the binomial theorem), and the carries of the "$1$" of $10_n$
In the limit as $ n $ approaches infinity, how can we interpret this pattern of $2 \ldots 01_n$ in base $ n $ in relation to $ e $? Is there a meaningful way to discuss the concept of $ e $ in an "infinite base" system, or does the notion become abstract or theoretical?
There is also an apparent pattern in the three terminal digits, of "$101$" for odd $ n $ and $ m + $ "$01$", where $ m = \frac{n}{2} + 1 $ for even $ n $. Can we prove this holds?
I am also curious about any relevant mathematical literature or research that delves into this area. So far, my searches have not yielded much, and I would greatly appreciate any insights or references that could guide my understanding of this phenomenon.
Here is the Mathematica code for any one interested:
Table[{n, IntegerDigits[(n + 1)^n, n]}, {n, 2, 100}]
Thank you for your assistance!
In response to the question "Can we prove [the '101'] pattern holds?", here is a visual proof in Wolfram Language. The triangular numbers can be defined as the sequence of (duplicate) successive odd numbers, where each odd number is scaled by $n$ or $n + 1$ depending on its parity in the sequence. These are listed in the last two columns. The "$1$" from the $n$'s place of $10_{n}$ at $n \choose n - 1$ gets carried to the ones place of the triangular number, $n \choose n - 2$, which either holds a "$0$" (yielding the leading "$1$" of $101$ for odd $n$) or the $\frac{n}{2}$th natural number (which gets incremented to yield the pattern $m+$"$01$", where $m = \frac{n}{2} + 1$) for even $n$. Note that $n \choose n - 2$ is the $(n - 1)$th triangular number, not the $n$th. To simplify discussion, I'm considering the reflection of the triangular number in the binomial expansion, as $\binom{n}{k}$ is symmetric and equal to $ \binom{n}{n-k} $. Many thanks to the commenters for your guidance and insights: