- Source: Fibbinary number
In mathematics, the fibbinary numbers are the numbers whose binary representation does not contain two consecutive ones. That is, they are sums of distinct and non-consecutive powers of two.
Relation to binary and Fibonacci numbers
The fibbinary numbers were given their name by Marc LeBrun, because they combine certain properties of binary numbers and Fibonacci numbers:
The number of fibbinary numbers less than any given power of two is a Fibonacci number. For instance, there are 13 fibbinary numbers less than 32, the numbers 0, 1, 2, 4, 5, 8, 9, 10, 16, 17, 18, 20, and 21.
The condition of having no two consecutive ones, used in binary to define the fibbinary numbers, is the same condition used in the Zeckendorf representation of any number as a sum of non-consecutive Fibonacci numbers.
The
n
{\displaystyle n}
th fibbinary number (counting 0 as the 0th number) can be calculated by expressing
n
{\displaystyle n}
in its Zeckendorf representation, and re-interpreting the resulting binary sequence as the binary representation of a number. For instance, the Zeckendorf representation of 19 is 101001 (where the 1's mark the positions of the Fibonacci numbers used in the expansion 19 = 13 + 5 + 1), the binary sequence 101001, interpreted as a binary number, represents 41 = 32 + 8 + 1, and the 19th fibbinary number is 41.
The
n
{\displaystyle n}
th fibbinary number (again, counting 0 as 0th) is even or odd if and only if the
n
{\displaystyle n}
th value in the Fibonacci word is 0 or 1, respectively.
Properties
Because the property of having no two consecutive ones defines a regular language, the binary representations of fibbinary numbers can be recognized by a finite automaton, which means that the fibbinary numbers form a 2-automatic set.
The fibbinary numbers include the Moser–de Bruijn sequence, sums of distinct powers of four. Just as the fibbinary numbers can be formed by reinterpreting Zeckendorff representations as binary, the Moser–de Bruijn sequence can be formed by reinterpreting binary representations as quaternary.
A number
n
{\displaystyle n}
is a fibbinary number if and only if the binomial coefficient
(
3
n
n
)
{\displaystyle {\tbinom {3n}{n}}}
is odd. Relatedly,
n
{\displaystyle n}
is fibbinary if and only if the central Stirling number of the second kind
{
2
n
n
}
{\displaystyle \textstyle \left\{{2n \atop n}\right\}}
is odd.
Every fibbinary number
f
i
{\displaystyle f_{i}}
takes one of the two forms
2
f
j
{\displaystyle 2f_{j}}
or
4
f
j
+
1
{\displaystyle 4f_{j}+1}
, where
f
j
{\displaystyle f_{j}}
is another fibbinary number.
Correspondingly, the power series whose exponents are fibbinary numbers,
B
(
x
)
=
1
+
x
+
x
2
+
x
4
+
x
5
+
x
8
+
⋯
,
{\displaystyle B(x)=1+x+x^{2}+x^{4}+x^{5}+x^{8}+\cdots ,}
obeys the functional equation
B
(
x
)
=
x
B
(
x
4
)
+
B
(
x
2
)
.
{\displaystyle B(x)=xB(x^{4})+B(x^{2}).}
Madritsch & Wagner (2010) provide asymptotic formulas for the number of integer partitions in which all parts are fibbinary.
If a hypercube graph
Q
d
{\displaystyle Q_{d}}
of dimension
d
{\displaystyle d}
is indexed by integers from 0 to
2
d
−
1
{\displaystyle 2^{d}-1}
, so that two vertices are adjacent when their indexes have binary representations with Hamming distance one, then the subset of vertices indexed by the fibbinary numbers forms a Fibonacci cube as its induced subgraph.
Every number has a fibbinary multiple. For instance, 15 is not fibbinary, but multiplying it by 11 produces 165 (101001012), which is.