← Capgemini questions

Fibonacci series and prime number

Filed under Capgemini

Write code to generate the Fibonacci series up to N terms and write an efficient function to check if a given number is prime.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Capgemini questions

Collected from public candidate posts and coding forums. Updated Nov 2026.