You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given a number N, the task is to find if N is Fibonacci-prime number or not. A Fibonacci-prime is any number that is both a prime and a Fibonacci number. [🔗Goto](https://practice.geeksforgeeks.org/problems/the-fibonacci-prime-number1150/1/?page=4&difficulty[]=1&status[]=unsolved&category[]=Arrays&category[]=Strings&sortBy=accuracy#)
3
+
4
+
**Example 1:**
5
+
6
+
><p>Input: N = "5"<br>
7
+
>Output: 1<br>
8
+
>Explanation: 5 is a Fibonacci number and prime too</p>
0 commit comments