Back to Index

How 9801 generates a nice integer sequence


Transcript

The fraction 1/99^2 generates as its decimals something that looks a lot like the non-negative integers. Why is that? Showing this fraction as this kind of sum may give you a hint. But let's take a look further. Let's use this geometric series here that holds true for when the absolute value of x is less than 1.

1/(1-x) is equal to 1+x+x^2+x^3 and so on. Taking the derivative of both sides, the equality still holds true, resulting in 1/(1-x^2)=1+2x+3x^2+4x^3 and so on. Now here's how we get back to the magical fraction that generates something very close to the non-negative integers. We plug in 1/100 into x. The result on the left hand side is our fraction, 1/99^2.

And on the right hand side, the sum 1/100^2+2/100^3+3/100^4 and so on. And when we take the sum, we get that nice sequence of 0, 1, 2, 3, 4 and so on that we saw before. Now if we return to the derivative of the geometric series that we saw before and plug in x=1/100, we get the fraction that we started the video with.

But we can actually change the number of padding 0s in the decimal sequence that's generated by changing the value of x. For x of 1/10, the fraction is 1/9^2 or 1/81 and the padding is less. For x of 1/1000, the fraction is 1/999^2 and the padding is greater. And you can arbitrarily increase the denominator of x by multiples of 10 to increase the padding on the resulting decimal sequence.

So there you have it. There's a little bit of math that shows how a strange little fraction can generate a beautiful decimal sequence. You may have noticed that in this case, the number 98 is missing. The number 98 is not missing in the underlying summation. But since we're doing base 10 arithmetic, eventually the numbers overflow, resulting in a decimal sequence that's missing the number 98 before it starts repeating.

So while the underlying summation includes the non-negative integers, the resulting representation of the number in decimal form in base 10 notation actually is missing the number 98 and is actually a repeating decimal. I hope you enjoyed these little videos. They're easy and fun for me to make and allow me to share some basic and advanced ideas in mathematics, computer science, physics, machine learning, and also into the softer sciences of psychology, history, philosophy, and so on.

I look forward to sharing these with you. And remember, try to learn something new every day. Thanks. 1 Page 1 of 2 Page 2 of 3 Page 3 of 4 Page 5 of 6 Page 6 of 7 you