Question: The rooted Fibonacci trees Tn, n ¥ 1, are defined recursively as follows: (1) T1 is the rooted tree consisting of only the root; (2)

The rooted Fibonacci trees Tn, n ‰¥ 1, are defined recursively as follows:
(1) T1 is the rooted tree consisting of only the root;
(2) T2 is the same as T1 - it too is a rooted tree that consists of a single vertex; and
(3) For n ‰¥ 3, Tn is the rooted binary tree with Tn-2 as its left subtree and Tn-2 as its right subtree.
The first six rooted Fibonacci trees are shown in Fig. 12.47:
The rooted Fibonacci trees Tn, n ‰¥ 1, are defined

(a) For n ‰¥ 1, let in count the number of leaves in Tn. Find and solve a recurrence relation for in.
(b) Let in count the number of internal vertices for the tree Tn, where n ‰¥ 1. Find and solve a recurrence relation for in.
(c) Determine a formula for vn, the total number of vertices in Tn, where n ‰¥ 1.

T6 T4 Ts

Step by Step Solution

3.47 Rating (154 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

a n n1 n2 for n 3 and 1 2 1 Since this is precisely the Fibonacci recurrence relation we ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Document Format (1 attachment)

Word file Icon

954-M-L-A-L-S (8304).docx

120 KBs Word File

Students Have Also Explored These Related Linear Algebra Questions!