Discrete Math Project
VerifiedAdded on 2023/03/31
|7
|677
|490
AI Summary
This project explores the relationship between the Fibonacci sequence and Pascal's Triangle. It demonstrates that the Fibonacci sequence is related to Pascal's Triangle by showing that the sum of the diagonals of Pascal's Triangle are equal to the corresponding Fibonacci sequence term.
Contribute Materials
Your contribution can guide someone’s learning journey. Share your
documents today.
![Document Page](https://desklib.com/media/document/docfile/pages/discrete-maths-project-8owu/2024/09/09/8329eb34-9864-4f9d-99da-ef6e0e6f4cdb-page-1.webp)
Running head: DISCRETE MATHS PROJECT 1
Discrete Math Project
By (Name of Student)
(Institutional Affiliation)
(Date of Submission)
Discrete Math Project
By (Name of Student)
(Institutional Affiliation)
(Date of Submission)
Secure Best Marks with AI Grader
Need help grading? Try our AI Grader for instant feedback on your assignments.
![Document Page](https://desklib.com/media/document/docfile/pages/discrete-maths-project-8owu/2024/09/09/1d638398-bc01-4a35-ad83-756399c74a09-page-2.webp)
DISCRETE MATHS PROJECT 2
Show that the Fibonacci sequence {fn} is related to Pascal Triangle.
The n-th number in this sequence is the sum of the (n 1)-st and (n 2)-nd number, or, more
Formally, the Fibonacci sequence Fn, n = 0, 1 . . . is defined as;
F0 =0; F1 =1; Fn =Fn1 +Fn2, n2.
The terms where n−k<kn−k<k are 00.
The Fibonacci sequence is related to Pascal's triangle in that the sum of the diagonals of Pascal's
triangle are equal to the corresponding Fibonacci sequence term.
Initial Values
For n=0n=0, the sum gives 11.
For n=1n=1, the sum gives 11.
By recursion
The recursion is satisfied:
∑k=0n(n−kk)+∑k=0n+1(n+1−kk)=∑k=1n+1(n+1−kk−1)+∑k=0n+1(n+1−kk)=1+∑k=1n+1(n+2
−kk)=∑k=0n+2(n+2−kk)(2)(3)(4)
Hence Fibonacci sequence {fn} is related to Pascal Triangle which is
Part a) Expand both sides up n=10
∀n∈Z>0:∀n∈Z>0:FnFn==∑k=0⌊n−12⌋(n−k−1k)∑k= 0⌊n−12⌋(n−k−1k)==(n−10)+(n−21)+(n−32)+⋯+(n
−jj−1)+(n−j−1j)(n−10)+(n−21)+(n−32)+⋯+(n−jj−1)+(n−j−1j) where j=⌊n−12⌋j=⌊n−12⌋
Show that the Fibonacci sequence {fn} is related to Pascal Triangle.
The n-th number in this sequence is the sum of the (n 1)-st and (n 2)-nd number, or, more
Formally, the Fibonacci sequence Fn, n = 0, 1 . . . is defined as;
F0 =0; F1 =1; Fn =Fn1 +Fn2, n2.
The terms where n−k<kn−k<k are 00.
The Fibonacci sequence is related to Pascal's triangle in that the sum of the diagonals of Pascal's
triangle are equal to the corresponding Fibonacci sequence term.
Initial Values
For n=0n=0, the sum gives 11.
For n=1n=1, the sum gives 11.
By recursion
The recursion is satisfied:
∑k=0n(n−kk)+∑k=0n+1(n+1−kk)=∑k=1n+1(n+1−kk−1)+∑k=0n+1(n+1−kk)=1+∑k=1n+1(n+2
−kk)=∑k=0n+2(n+2−kk)(2)(3)(4)
Hence Fibonacci sequence {fn} is related to Pascal Triangle which is
Part a) Expand both sides up n=10
∀n∈Z>0:∀n∈Z>0:FnFn==∑k=0⌊n−12⌋(n−k−1k)∑k= 0⌊n−12⌋(n−k−1k)==(n−10)+(n−21)+(n−32)+⋯+(n
−jj−1)+(n−j−1j)(n−10)+(n−21)+(n−32)+⋯+(n−jj−1)+(n−j−1j) where j=⌊n−12⌋j=⌊n−12⌋
![Document Page](https://desklib.com/media/document/docfile/pages/discrete-maths-project-8owu/2024/09/09/d61bfd26-ab50-4a96-a937-7d505f5b52bf-page-3.webp)
DISCRETE MATHS PROJECT 3
Part b) Write a program for the LHS and RHS (you can choose any programming language)
> assume(k,odd): interface(showassumed=0):
> lhSide:=Sum(binomial(k-j+1,k-2*j+1),j=0..1+(k-1)/2);
> value(%);
> simplify(expand(%));
> lhSide_final := %:
> rhSide:=Sum(binomial(k-j,k-2*j),j=0..1+(k-3)/2)+Sum(binomial(k-j-1,k-2*j-1),j=0..1+(k-
3)/2);
> simplify(expand(%));
> rhSide_final := %:
> is(lhSide_final=rhSide_final);
Part c) Compare the LHS and RHS result for n=100 using the program in part b
Using the program, the LHS and RHS result for n=100 is given as;
def fib(100):
SQRT5 = math.sqrt(5)
PHI = (SQRT5 + 1) / 2
return int(PHI ** n / SQRT5 + 0.5)
Part b) Write a program for the LHS and RHS (you can choose any programming language)
> assume(k,odd): interface(showassumed=0):
> lhSide:=Sum(binomial(k-j+1,k-2*j+1),j=0..1+(k-1)/2);
> value(%);
> simplify(expand(%));
> lhSide_final := %:
> rhSide:=Sum(binomial(k-j,k-2*j),j=0..1+(k-3)/2)+Sum(binomial(k-j-1,k-2*j-1),j=0..1+(k-
3)/2);
> simplify(expand(%));
> rhSide_final := %:
> is(lhSide_final=rhSide_final);
Part c) Compare the LHS and RHS result for n=100 using the program in part b
Using the program, the LHS and RHS result for n=100 is given as;
def fib(100):
SQRT5 = math.sqrt(5)
PHI = (SQRT5 + 1) / 2
return int(PHI ** n / SQRT5 + 0.5)
![Document Page](https://desklib.com/media/document/docfile/pages/discrete-maths-project-8owu/2024/09/09/a7cc9f38-26eb-4b26-8784-3c63766813a2-page-4.webp)
DISCRETE MATHS PROJECT 4
The result is 2.434, which is the difference between the LHS and RHS result for n=100
Part d) Prove the identity using either mathematical induction or a combinatorial proof
C(n,m) C(m,k) = C(n,k) C(n-k, m-k)
To give a combinatorial proof of this binomial identity, we need to find a counting problem for
which one side or the other is the answer and then find another way to do the count. Let S be a
set with n elements. The number of these ordered pairs is, C (n,m) C(m,k) using the product
rule and first counting the number of choices for M and then the number of choices for K. Now
we count the ordered pairs in a different way. First choose a K, this can be done in C (n,k)
ways, and next count the number of M's that contain this K. Since we must add m-k elements
to K to get an M, and these are in the complement of K, of size n-k, we have C (n-k,m-k) ways
to do this. So, C (n,m) C(m,k) = C(n,k) C(n-k, m-k) since these represent two ways to count
the same thing.
Part e) Show that (Fn + 1) / Fn =
Solution
The Golden Ratio proof
In calculating the ratio of two successive Fibonacci numbers, uunn+1, we
find that as n increases without bound, the ratio approaches .
Since
The result is 2.434, which is the difference between the LHS and RHS result for n=100
Part d) Prove the identity using either mathematical induction or a combinatorial proof
C(n,m) C(m,k) = C(n,k) C(n-k, m-k)
To give a combinatorial proof of this binomial identity, we need to find a counting problem for
which one side or the other is the answer and then find another way to do the count. Let S be a
set with n elements. The number of these ordered pairs is, C (n,m) C(m,k) using the product
rule and first counting the number of choices for M and then the number of choices for K. Now
we count the ordered pairs in a different way. First choose a K, this can be done in C (n,k)
ways, and next count the number of M's that contain this K. Since we must add m-k elements
to K to get an M, and these are in the complement of K, of size n-k, we have C (n-k,m-k) ways
to do this. So, C (n,m) C(m,k) = C(n,k) C(n-k, m-k) since these represent two ways to count
the same thing.
Part e) Show that (Fn + 1) / Fn =
Solution
The Golden Ratio proof
In calculating the ratio of two successive Fibonacci numbers, uunn+1, we
find that as n increases without bound, the ratio approaches .
Since
Secure Best Marks with AI Grader
Need help grading? Try our AI Grader for instant feedback on your assignments.
![Document Page](https://desklib.com/media/document/docfile/pages/discrete-maths-project-8owu/2024/09/09/33427dcd-9696-4447-bea2-987341dc9ef8-page-5.webp)
DISCRETE MATHS PROJECT 5
un+1 = un + un−1,
Then by definition, it follows that
.
Now, we let
We then see that
.
We now have the statement
,
which is equivalent to the equation;
.
This equation can then be rewritten as
L2 − L − 1 = 0,
Which is easily solved using the quadratic formula. By using the quadratic
formula, we have
.
Thus, we arrive at our desired result of
un+1 = un + un−1,
Then by definition, it follows that
.
Now, we let
We then see that
.
We now have the statement
,
which is equivalent to the equation;
.
This equation can then be rewritten as
L2 − L − 1 = 0,
Which is easily solved using the quadratic formula. By using the quadratic
formula, we have
.
Thus, we arrive at our desired result of
![Document Page](https://desklib.com/media/document/docfile/pages/discrete-maths-project-8owu/2024/09/09/506cfc45-f173-407b-a3f9-b2e0408fdcbd-page-6.webp)
DISCRETE MATHS PROJECT 6
.
References
Falcon, S., & Plaza, A. (2009). Binomial transforms of the k-Fibonacci sequence. International
Journal of Nonlinear Sciences and Numerical Simulation, 10(11-12), 1527-1538.
Falcón, S., & Plaza, Á. (2017). The k-Fibonacci sequence and the Pascal 2-triangle. Chaos,
Solitons & Fractals, 33(1), 38-49.
Gould, H. W. (2009). The Girard-Waring power sum formulas for symmetric functions, and
Fibonacci sequences. Fibonacci Quarterly, 37, 135-140.
Hoggatt Jr, V. E. (2017). Fibonacci numbers and generalized binomial coefficients. Fibonacci
Quart, 5, 383-400.
Hosoya, H. (2008). Pascal’s triangle, non‐adjacent numbers, and D-dimensional atomic
orbitals. Journal of mathematical chemistry, 23(1-2), 169-178.
.
References
Falcon, S., & Plaza, A. (2009). Binomial transforms of the k-Fibonacci sequence. International
Journal of Nonlinear Sciences and Numerical Simulation, 10(11-12), 1527-1538.
Falcón, S., & Plaza, Á. (2017). The k-Fibonacci sequence and the Pascal 2-triangle. Chaos,
Solitons & Fractals, 33(1), 38-49.
Gould, H. W. (2009). The Girard-Waring power sum formulas for symmetric functions, and
Fibonacci sequences. Fibonacci Quarterly, 37, 135-140.
Hoggatt Jr, V. E. (2017). Fibonacci numbers and generalized binomial coefficients. Fibonacci
Quart, 5, 383-400.
Hosoya, H. (2008). Pascal’s triangle, non‐adjacent numbers, and D-dimensional atomic
orbitals. Journal of mathematical chemistry, 23(1-2), 169-178.
![Document Page](https://desklib.com/media/document/docfile/pages/discrete-maths-project-8owu/2024/09/09/69aca5bb-a0a0-4da0-bf75-aa40c420b621-page-7.webp)
DISCRETE MATHS PROJECT 7
Walton, J. E., & Horadam, A. F. (2014). Some aspects of generalized Fibonacci numbers. The
Fibonacci Quarterly, 12(3), 241-250.
Walton, J. E., & Horadam, A. F. (2014). Some aspects of generalized Fibonacci numbers. The
Fibonacci Quarterly, 12(3), 241-250.
1 out of 7
![[object Object]](/_next/image/?url=%2F_next%2Fstatic%2Fmedia%2Flogo.6d15ce61.png&w=640&q=75)
Your All-in-One AI-Powered Toolkit for Academic Success.
+13062052269
info@desklib.com
Available 24*7 on WhatsApp / Email
Unlock your academic potential
© 2024 | Zucol Services PVT LTD | All rights reserved.