Basic Examples (2)
Basic Examples
(2)
The first number whose representation takes three summands is 12:
In[12]:=
Out[12]=
{1,0,1,0,1}
This corresponds to 8 + 3 + 1:
In[77]:=
Reverse@Fibonacci[{2,4,6}]
Out[77]=
{8,3,1}
———
The first number whose representation takes four summands is 33:
In[87]:=
Out[87]=
{1,0,1,0,1,0,1}
In[90]:=
Withz=[33],Prepend[Reverse@z,0].Fibonacci@Range[1+Length@z]
Out[90]=
33
Neat Examples (2)
Neat Examples
(2)