answersLogoWhite

0


Best Answer

A recursive sequence uses previous numbers to find the next number in a sequence after the base case. The Fibonacci sequence is an example of such a sequence. The base numbers of the Fibonacci sequence are 0 and 1. After that base, you find the next number in the sequence by adding the two previous numbers. So, the Fibonacci sequence looks like so:

0, 1, 1, 2, 3, 5, 8....

So, the third number is found by adding the first and second numbers, 0 and 1. So the third number is 1. The fourth number is found by adding the second and third numbers, 1 and 1. So, the fourth number is 2. You can continue on this way forever.

User Avatar

Wiki User

9y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is a recursive sequence and its relationship to a Fibonacci sequence.?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Recursive rule for the Fibonacci sequence?

x1=0 x2=1 for i > 2, xi= xi-1 + xi-2


Why is Fibonacci recursive?

Each term, except the first two, in the Fibonacci sequence is defined in terms of terms that went earlier in the sequence. That is the meaning of "recursive". t(1) = 1 t(2) = 1 t(n+2) = t(n) + t(n+1) for n = 1, 2, 3, ...


Do grapes come under Fibonacci sequence?

No. Grapes have nothing to do with a recursive series of numbers following the rule that any number is the sum of the previous two.


What is the recursive formula for 2 1 3 4 7 11?

It look like a Fibonacci sequence seeded by t1 = 2 and t2 = 1. After that the recursive formula is simply tn+1 = tn-1 + tn.


Why is the Fibonacci sequence named after Fibonacci?

Leonardo Fibonacci discovered the number sequence which is named after him.


What are the ninth and tenth numbers in the Fibonacci sequence?

The 9th number in the Fibonacci Sequence is 34, and the 10th number in the Fibonacci sequence is 89.


Why did Fibonacci think of the Fibonacci code?

There is the Fibonacci sequence but what is the Fibonacci code?


Who was Leonardo Fibonacci?

Leonardo Fibonacci was the father and creator of the fibonacci sequence a very famous mathematic sequence


What is the 16th number of the Fibonacci sequence?

The 16th number of the Fibonacci sequence is 987.


What is the 20th Fibonacci number in the sequence?

The 20th Fibonacci number in the sequence is 6,765.


What is a Fibonacci sequence using 84?

The Fibonacci sequence requires two numbers as "seeds".


Write a program to print the Fibonacci series in php upto input value using recursive function?

The Fibonacci sequence uses recursion to derive answers. It is defined as: F0 = 0 F1 = 1 Fn = F(n - 1) + F(n -2) To have this sequence printed by a php script use the following: function fibonacci($n) { if($n 1) return 1; //F1 else return fibonacci($n - 1) + fibonacci($n - 2); //Fn } This recursive function will print out the Fibonacci number for the integer n. To make it print out all the numbers in a particular set add this to your script. for($i = 0; $i < 15; $i++) { echo fibonacci($i) . "<br />"; } So your final result would look like. <?php function fibonacci($n) { if($n 1) return 1; else return fibonacci($n - 1) + fibonacci($n - 2); } for($i = 0; $i < 15; $i++) { echo fibonacci($i) . "<br />"; } ?>