From a9ebbc13048f384d78035540af9c26fc40f39c6a Mon Sep 17 00:00:00 2001 From: Collin Williams <96917990+bluedragon1221@users.noreply.github.com> Date: Fri, 4 Sep 2026 11:14:19 -0500 Subject: hopefully fix math blocks? --- fib.html | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/fib.html b/fib.html index 29d5e71..a5121d7 100644 --- a/fib.html +++ b/fib.html @@ -126,7 +126,7 @@

Okay, so now that I had a way to split the sequences into pieces, I just needed a way to count the number of sequences for each value of t, and sum those together.

-

The sum was the easy part. I knew the final number would be the the sum of all of the mts, or:

+

The sum was the easy part. I knew the final number would be the the sum of all of the mts, or: @@ -144,7 +144,8 @@ mt -

Plugging in our definition for tmax,

+

+

Plugging in our definition for tmax, @@ -166,7 +167,7 @@ mt - +

After thinking about the sequences for a while, I realized that the number of sequences boils down to the question "how many ways can you uniquely arrange a list of t special items out of k total items?"

@@ -178,7 +179,7 @@ for some t was equivelant to counting the number of ways to choose t elements from a larger set of k - elements. By this definition,

+ elements. By this definition, mt @@ -193,7 +194,8 @@ ) -

Plugging in the prior definition for k, and using the summation from above, I arrived at a final equation:

+

+

Plugging in the prior definition for k, and using the summation from above, I arrived at a final equation: f(n) = @@ -229,6 +231,7 @@ +

Yay!


@@ -239,7 +242,7 @@

The formula on ProofWiki is for the nth fibonacci number, so here's how you could arrive at the real Fibonacci Number as Sum of Binomial Coefficients function:

Begin with the derived formula, replacing n for a - to avoid variable conflicts later.

+ to avoid variable conflicts later. f(a) = @@ -263,7 +266,8 @@ -

Since this is really for the n+1th Fibonacci number, substitute a=n-1.

+

+

Since this is really for the n+1th Fibonacci number, substitute a=n-1. f(n) = @@ -287,8 +291,9 @@ +

The original function uses k - instead of t.

+ instead of t. f(n) = @@ -312,6 +317,7 @@ +

This is the exact same function that appears on ProofWiki!

-- cgit v1.3.1