Amdocs interview question

so basic questions Fibonacci series prime number program