[Paper Review] Binary strings of length $n$ with $x$ zeros and longest $k$-runs of zeros
This paper derives a recurrence relation for $ F_n(x,k) $, the number of binary strings of length $ n $ with $ x $ zeros and a longest run of $ k $ consecutive zeros, and shows how known sequences like Fibonacci, Catalan, and triangular numbers can be expressed through $ F_n(x,k) $. It further extends the analysis to palindromic binary strings, establishing a one-to-one correspondence between compositions of $ n+1 $ with largest part $ k+1 $ and such strings, and provides explicit formulas for counting palindromic partitions.
In this paper, we study $F_{n}(x,k)$, the number of binary strings of length $n$ containing $x$ zeros and a longest subword of $k$ zeros. A recurrence relation for $F_{n}(x,k)$ is derived. We expressed few known numbers like Fibonacci, triangular, number of binary strings of length $n$ without $r$-runs of ones and number of compositions of $n+1$ with largest summand $k+1$ in terms of $F_{n}(x,k).$ Similar results and applications were obtained for F$_{n}(x,k),$ the number of all palindromic binary strings of length $n$ containing $x$ zeros and longest $k$-runs of zeros.
Motivation & Objective
- To derive a recurrence relation for $ F_n(x,k) $, the number of binary strings of length $ n $ with $ x $ zeros and longest run of $ k $ consecutive zeros.
- To express well-known integer sequences—such as Fibonacci, Catalan, triangular, and oblong numbers—using $ F_n(x,k) $.
- To extend the analysis to palindromic binary strings and define $ \hat{F}_n(x,k) $, the count of palindromic strings with $ x $ zeros and longest $ k $-run of zeros.
- To establish a one-to-one correspondence between compositions of $ n+1 $ with largest summand $ k+1 $ and $ B_n^{x,k} $, and to derive formulas for palindromic compositions.
Proposed method
- Derives a necessary and sufficient condition for $ F_n(x,k) > 0 $ using bounds on $ x $ based on $ n $ and $ k $, involving floor functions and divisibility conditions.
- Proposes a recurrence for $ F_n(x,k) $, enabling systematic computation of the number of binary strings with specified zero counts and maximum zero-run length.
- Uses combinatorial constructions to build valid strings from blocks of $ k $ zeros followed by 1s, ensuring no $ (k+1) $-run occurs.
- Establishes a bijection between compositions of $ n+1 $ with largest part $ k+1 $ and binary strings in $ B_n^{x,k} $, linking string structure to integer compositions.
- Introduces $ \hat{P}_{n+1}(x,k) $, the number of palindromic partitions of $ n+1 $ corresponding to $ \hat{F}_n(x,k) $, and derives closed-form expressions for $ \hat{P}_{n+1}(x,k) $ under various parity and divisibility conditions.
- Applies generating function and partition-theoretic techniques to derive formulas for $ \hat{P}_{n+1}(x,k) $, distinguishing cases based on parity of $ x $, $ k $, and $ n $.
Experimental results
Research questions
- RQ1How can the number of binary strings of length $ n $ with $ x $ zeros and longest run of $ k $ consecutive zeros be systematically counted?
- RQ2Which classical integer sequences (e.g., Fibonacci, Catalan, triangular) can be expressed in terms of $ F_n(x,k) $?
- RQ3What is the exact condition for $ F_n(x,k) > 0 $, and how does it constrain the possible values of $ x $ for given $ n $ and $ k $?
- RQ4How does the structure of palindromic binary strings with $ x $ zeros and longest $ k $-run of zeros relate to integer compositions and partitions?
- RQ5Can a closed-form formula be derived for the number of palindromic partitions of $ n+1 $ with largest summand $ k+1 $, corresponding to $ \hat{F}_n(x,k) $?
Key findings
- The paper establishes that $ F_n(x,k) > 0 $ if and only if $ x + \lfloor x/k \rfloor \leq n $ when $ k \nmid x $, and $ x + \frac{x}{k} - 1 \leq n $ when $ k \mid x $, providing a precise bound on $ x $ for given $ n $ and $ k $.
- The number of valid $ (x,k) $ pairs for which $ F_n(x,k) > 0 $ is given by $ |S_n| = \binom{n+2}{2} - \sum_{i=0}^n \left\lfloor \frac{n}{i+1} \right\rfloor $, offering a combinatorial count of feasible configurations.
- The number of compositions of $ n+1 $ with largest summand $ k+1 $ is in one-to-one correspondence with $ B_n^{x,k} $, and this correspondence is explicitly constructed via string block decomposition.
- For palindromic binary strings, $ \hat{P}_{n+1}(x,k) $ is derived in closed form: $ \hat{P}_{2n+2}(x,k) = \sum_{i=0}^{\lfloor k/2 \rfloor - 1} P_{n-i}\left(\frac{x-2i-1}{2}, k\right) + \sum_{j=0}^k P_{\frac{2n-k+1}{2}}\left(\frac{x-k}{2}, j\right) $ when $ x $ is odd, with analogous formula for even $ x $.
- Specific cases yield exact counts: for example, $ \hat{P}_{n+1}(x,x) = \hat{P}_{n+1}(x,1) = 1 $, and $ \hat{P}_{2n+2}(x,2) $ is $ i+1 $ for $ i < \lfloor x/4 \rfloor - 1 $, or $ \lfloor x/4 \rfloor $ otherwise, depending on the number of $ 00 $-blocks.
- When $ k \mid x $ and $ n = x + \frac{x}{k} - 1 $, then $ \hat{P}_{n+1}(x,k) = 1 $, indicating a unique palindromic partition in such cases.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.