Fibonacci Series


Do you Know : Apple's Logo was designed with the aid of Golden ratio: Fibonacci Series

Can Anyone Solve it ?


Ram on completion of his High school ,decided to solve programming papers.He was confused on seeing a programming strategy given as "solve G(n)=G(n-1)+F(2n-1) where n>0 and F Fibonacci series starting from 1".Help him to solve the problem..

Note:
G(0)=0 ,1<n<50;

Sample Input :

2

Sample Output:

3


Post Author

Unknown

We share resources which would help recover your mobiles, computers and also update new information about latest information and launches of products making you up to date.

No comments :

Post a Comment