Model N Interview Question

check whether number is fibonacci or not