Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Check if a given number is a Fibonacci number
ResourceFunction["FibonacciQ"][n] Checks if an integer n is a Fibonacci number. |
Check if F100 is a Fibonacci number:
In[1]:= | ![]() |
Out[1]= | ![]() |
Check if an integer of the magnitude is a Fibonacci Number:
In[2]:= | ![]() |
Out[2]= | ![]() |
FibonacciQ works on negative numbers as well:
In[3]:= | ![]() |
Out[3]= | ![]() |
Verify Fibonacci[n]:
In[4]:= | ![]() |
Out[4]= | ![]() |
FibonacciQ only works for integers:
In[5]:= | ![]() |
Out[5]= | ![]() |
Check the frequency of Fibonacci Numbers:
In[6]:= | ![]() |
Out[6]= | ![]() |
Check the first differences of number of states of a Multiway System are Fibonacci Numbers:
In[7]:= | ![]() |
In[8]:= | ![]() |
Out[8]= | ![]() |
In[9]:= | ![]() |
Out[9]= | ![]() |
In[10]:= | ![]() |
Out[10]= | ![]() |
Wolfram Language 13.0 (December 2021) or above
This work is licensed under a Creative Commons Attribution 4.0 International License