Given two numbers n1 and n2
1. Find prime numbers between n1 and n2, then
2. Make all possible unique combinations of numbers from the prime numbers list you found in step 1.
3. From this new list, again find all prime numbers.
4. Find smallest (a) and largest (b) number from the 2nd generated list, also count of this list.
5. Consider smallest and largest number as the 1st and 2nd number to generate Fibonacci series respectively till the count (number of primes in the 2nd list).
6. Print the last number of a Fibonacci series as an output
Answers
Answered by
0
Answer:
Where we all have to write it
Similar questions
Math,
5 months ago
Science,
5 months ago
History,
5 months ago
Social Sciences,
10 months ago
Social Sciences,
10 months ago
Math,
1 year ago
English,
1 year ago
Math,
1 year ago