Built something? We create video reels & spotlights for GitHub projects.Promote your project →
Home / Developers / Ami-Bangladesh
Developer Profile

Ami-Bangladesh

Discovered public repositories for Ami-Bangladesh in the GitHub catalog.

↗

Ami-Bangladesh/How-to-check-if-a-given-number-is-Fibonacci-number-

Given a number ‘n’, how to check if n is a Fibonacci number. A simple way is to generate Fibonacci numbers until the generated number is greater than or equal to ‘n’. Following is an interesting property about Fibonacci numbers that can also be used to check if a given number is Fibonacci or not. A number is Fibonacci if and only if one or both of (5*n2 + 4) or (5*n2 – 4) is a perfect square (Source: Wiki ).

FOR MAINTAINERS

Built something? Put it in front of millions of developers.

We make a short reel about your project and post it across YouTube, Instagram, Threads, and X. Send a link, we do the rest.

SPONSORED Sponsored Partner