Prime fibonacci combinations program in python

Prime Fibonnaci Problem Description 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

Constraints 2

Chủ Đề