Write a function to check whether given number is a fibonacci number ?
Login to Submit
Input: 5 Output: true Input: 6 Output: false Input: 13 Output: true