Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Get the fibbinary sequence
ResourceFunction["Fibbinary"][n] gives the nth fibbinary number. | |
ResourceFunction["Fibbinary"][{n}] gives a list of fibbinary numbers less than or equal to n. |
First one hundred fibbinaries:
In[1]:= | ![]() |
Out[1]= | ![]() |
Fibbinaries less than or equal to 50, represented in base 2:
In[2]:= | ![]() |
Out[2]= | ![]() |
Plot of fibbinaries less than 150 in base 2:
In[3]:= | ![]() |
Out[3]= | ![]() |
Fibbinaries are related to the Zeckendorf representation:
In[4]:= | ![]() |
Out[4]= | ![]() |
In[5]:= | ![]() |
Out[5]= | ![]() |
In[6]:= | ![]() |
Out[6]= | ![]() |
Adding the following integers gives 12:
In[7]:= | ![]() |
Out[7]= | ![]() |
In[8]:= | ![]() |
Out[8]= | ![]() |
Wolfram Language 11.3 (March 2018) or above
This work is licensed under a Creative Commons Attribution 4.0 International License