(This post is a cleaned up and expanded version of this thread.)
A cool fact I've seen shared around the internet a few times: The decimal expansion of starts with
That is, it begins with three-digit strings from to , in order, except that it skips for some reason.
The first thing to observe is that .
Recall the formula for the infinite geometric series:
If we differentiate both sides with respect to , we get
and multiplying by gives
(This can also be obtained by some series manipulations.)
Now, take . We have
From here, the appearance of the numbers from to , at least, is clear. What changes at ? To see this, we look ahead a couple of places, zooming into this part of the sum. We will write it vertically for visualization purposes.
As can be seen above, the term spills over into the term, so when they are added, the becomes , and a is in turn carried over to the , yielding . Nothing else before is affected. This explains the missing .
Of course, the above is the expansion of , which isn't quite our original fraction, and the decimal expansion is missing the string at the beginning. To get the fraction in our original claim, , we move three decimal places, which indeed accounts for the missing .
More generally, the decimal expansion of encodes all -digit strings from to except for .
Let's look at our old friend again. Notice that is two times , and is almost two times but overshoots by one. Normally, this could be chalked up to coincidence, and for many years, I thought it was. But, it turns out there's a nice explanation! Note that
The first two terms of the sum explain why and show up. And similarly to a while ago, the reason we have and not is because the next term, corresponding to , spills over.
One of my favorite variants of the above, if a bit more niche: Notice that
That is, these fractions seem to encode the notorious Fibonacci sequence , a sequence of integers defined by . That is, each term is the sum of the previous two. The first few terms are
Before we go too deeply into that, I'll relate a math problem that I was surprised turned up in a local high school contest a couple of years ago: What is the value of the infinite sum
It's pretty reasonable to suppose that the sum converges in the first place. Let denote the value of this sum. The relation given above seems to be a clue: you somehow want to line up the and terms. To do this, we divide everything by , shifting the s to the right:
Combining the two gives
This time, it looks almost like the first sequence, except that the s have been shifted to the left; another way of viewing this is that the denominators have been divided by , or the original sum has been doubled. Well, almost. We have, to compare,
Notice that these expressions differ by a term of . That is,
We can now solve for ; we have , and so
More generally, we can consider the sum
Repeating the process above, but replacing with , we have that, assuming the convergence of all relevant series, , which rearranges to . That is,
More generally, suppose we have a sequence of numbers . The function
is said to be the generating function of the sequence .
The above tells us that the function is the generating function of the Fibonacci sequence. Our previous discussion tells us that is the generating function of the positive integers. Note that nothing stops us from starting at instead of , or whichever index, so in this light we can view as the generating function of the constant sequence given by for all nonnegative integers .
We can now go back to the matter of the decimal expansions. What the above says is that the fractions
encode all but the last Fibonacci number with at most decimal digits. And this can be seen by taking and plugging it into our generating function; we get that
By a similar observation as in above, the smallest Fibonacci number with digits spills over into the largest Fibonacci number with at most digits, explaining what is going on. And as before, the missing string is accounted for by multiplying by a factor of .
There is a minor detail. What if there is more than one overflow? Say, the term corresponding to the first -digit Fibonacci number overflows into the term corresponding to the largest -digit Fibonacci number, which then becomes a digit number and overflows into the term before it. This would happen exactly when the largest -digit Fibonacci number is . Fortunately, a paper of Bugeaud, Luca, Mignotte, and Siksek shows that this is never the case.
There are more ways in which studying the above generating function is useful. It is an established result that any rational function on the reals can be decomposed into simpler rational functions, whose denominators are powers of irreducible polynomials with degree at most . (And if we want to consider rational functions on instead, we can stipulate that the denominators are all powers of linear factors.) We have that has roots and . So, we can write
for some constants . Solving gives . Note that . We have
We now expand the right-hand side into geometric series to get
However, we already agreed that ; this forces us to conclude that
This gives us an explicit formula for that does not depend on knowing any previous values!
We can polish this presentation a tiny bit more. Notice that , the infamous golden ratio; we also have that , the other root of the quadratic equation . With this we write
This identity is known as Binet's identity, named after Jacques Philippe Marie Binet, though supposedly Euler, de Moivre, and Daniel Bernoulli had already known about it.
This technique of encoding sequences in generating functions in order to study them is a powerful one. A taste of some more advanced stuff, to end: Denote by the complex upper-half plane, that is, the set of complex numbers with positive imaginary part. Take to be the set of integer matrices with , that is, of determinant .
Now, for and , let . This action is consistent with matrix multiplication: we have for any and , . It can also be shown that if and , then as well.
Let be a positive integer, and let be a holomorphic (complex differentiable) function defined on . We say that is a modular form of weight if it satisfies the following conditions:
- For all and , ;
- as , is bounded.
Note that ; the first condition implies that , so is periodic of period . Since is holomorphic with period , it has a Fourier series of the form where we write .
(In fact, to check 1., it suffices to check it for and .)
For a prototypical example of a modular form: Let be a positive integer. Consider the (normalized) Eisenstein series, a function defined on given by:
where is the Riemann zeta function.
The Eisenstein series is a modular form of weight . It has the Fourier series expansion
for some constant depending on . Here, denotes the sum of the th powers of the (positive) divisors of . This tells us that we can view as a generating function for (up to a scalar multiple). Some values of are , , .
By using methods from complex analysis, it can be shown that any modular form must be a linear combination of products of the (normalized) Eisenstein series and . In particular, when , we can only have that for some constant . Comparing constant terms, we conclude that . That is, , and so
By matching the coefficients of , we find
Check this for and if you're skeptical! The first time I learned this material, I honestly didn't believe it myself.
This is an astonishing identity that I am not sure can be attained by more elementary approaches. There are many similar divisor-sum formulas that can be obtained by using these techniques, as well as formulas for the number of ways to write an integer as the sum of 2 squares (or 4, or 8 squares), and many, many other cool things. In general, deriving results in number theory by using techniques of analysis is a whole area of study known as analytic number theory, which is my chief area of interest.
Comments
Post a Comment