Fibonacci-Prime
Consider the given series: 1.2.1.3, 2.5,3,7,5, 11, 8, 13, 13, 17,...
This series is a mixture of 2 series - all the odd terms in this series form a Fibonacci series and all the even terms are the prime numbers in ascending
order,
Now write a program to find the Nth term in this series.
Input Format:
Take input the value of N from stdin
Output Format:
Print the Nth term according to Series
Example Input:
5
Output
2
Example Input:
Activate Windows
Output:
3
Answers
Answered by
0
Answer:
I think this answer very easy to use and I can pay
Explanation:
LEARN and I will be grateful
Similar questions