arXiv++ Combinatorics

Browse math.CO papers from arXiv

Papers by Bartosz Sobolewski

5 paper(s) by this author · All BibTeX
2026-07-10
Hankel determinants of weighted binary sums of digits
Let $s_\mathbf{w}$ be the weighted binary sum-of-digits function associated with an arbitrary sequence of complex weights $\mathbf{w}=(w_j)_{j\geq 0}$. We investigate Hankel determinants $\mathcal{H}_\mathbf{w}(n) = \det [s_{\mathbf{w}}(i+j)]_{0\leq i,j<n}$ and derive a general recursion that allows us to effectively compute $\mathcal{H}_\mathbf{w}(n)$ for all $n$. Applying it to the ordinary binary sum-of-digits, that is, $w_j=1$, we express $\mathcal{H}_\mathbf{w}(n)$ in a closed form for several sequences of indices, including the remarkably simple $$ \mathcal{H}_\mathbf{w}(\lceil 2^{k+2}/3\rceil)= (-1)^{\frac{(k+2)(k+3)}{2}}(k+1). $$ This yields an infinite family of explicit evaluations, giving a partial solution to a problem posed by Allouche and Shallit. Moreover, we closely study the specialization $w_j=t^j$, where the determinants become polynomials in $t$, and investigate their vanishing. For $t=2ζ$, where $ζ$ is a root of unity, we show that the determinants vanish on a large structured set of indices, while the complementary is sparse but infinite. In addition to $\mathcal{H}_\mathbf{w}(n)$, we consider Hankel determinants associated with the first difference of $s_{\mathbf{w}}$, obtaining an explicit product formula. This generalizes the results by Fokkink, Kraaikamp, and Shallit concerning Hankel determinants for the period-doubling sequence.
2024-12-20
On the behavior of binary block-counting functions under addition
Let $\mathsf{s}(n)$ denote the sum of binary digits of an integer $n \geq 0$. In the recent years there has been interest in the behavior of the differences $\mathsf{s}(n+t)-\mathsf{s}(n)$, where $t \geq 0$ is an integer. In particular, Spiegelhofer and Wallner showed that for $t$ whose binary expansion contains sufficiently many blocks of $\mathtt{1}$s the inequality $\mathsf{s}(n+t) -\mathsf{s}(n) \geq 0$ holds for $n$ belonging to a set of asymptotic density $>1/2$, partially answering a question by Cusick. Furthermore, for such $t$ the values $\mathsf{s}(n+t) - \mathsf{s}(n)$ are approximately normally distributed. In this paper we consider a natural generalization to the family of block-counting functions $N^w$, giving the number of occurrences of a block of binary digits $w$ in the binary expansion. Our main result show that for any $w$ of length at least $2$ the distribution of the differences $N^w(n+t) - N^w(n)$ is close to a Gaussian when $t$ contains many blocks of $\mathtt{1}$s in its binary expansion. This extends an earlier result by the author and Spiegelhofer for $w=\mathtt{11}$.
2022-11-29
Values of binary partition function represented by a sum of three squares
Published • View PublicationBIB
Let $m$ be a positive integer and $b_{m}(n)$ be the number of partitions of $n$ with parts being powers of 2, where each part can take $m$ colors. We show that if $m=2^{k}-1$, then there exists the natural density of integers $n$ such that $b_{m}(n)$ can not be represented as a sum of three squares and it is equal to $1/12$ for $k=1, 2$ and $1/6$ for $k\geq 3$. In particular, for $m=1$ the equation $b_{1}(n)=x^2+y^2+z^2$ has a solution in integers if and only if $n$ is not of the form $2^{2k+2}(8s+2t_{s}+3)+i$ for $i=0, 1$ and $k, s$ are non-negative integers, and where $t_{n}$ is the $n$th term in the Prouhet-Thue-Morse sequence. A similar characterization is obtained for the solutions in $n$ of the equation $b_{2^k-1}(n)=x^2+y^2+z^2$.
2022-04-11 v2
On monochromatic arithmetic progressions in binary words associated with pattern sequences
Published • View PublicationBIB
Let $e_v(n)$ denote the number of occurrences of a fixed pattern $v$ in the binary expansion of $n \in \mathbb{N}$. In this paper we study monochromatic arithmetic progressions in the class of binary words $(e_v(n) \bmod{2})_{n \geq 0}$, which includes the famous Thue--Morse word $\mathbf{t}$ and Rudin--Shapiro word $\mathbf{r}$. We prove that the length of a monochromatic arithmetic progression of difference $d \geq 3$ starting at $0$ in $\mathbf{r}$ is at most $(d+3)/2$, with equality for infinitely many $d$. Moreover, we compute the maximal length of a monochromatic arithmetic progression in $\mathbf{r}$ of difference $2^k-1$ and $2^k+1$. For a general pattern $v$ we provide an upper bound on the length of a monochromatic arithmetic progression of any difference $d$. We also prove other miscellaneous results and offer a number of related problems and conjectures.
2022-04-08
Solutions of certain meta-Fibonacci recurrences
Published • View PublicationBIB
In this note we investigate the solutions of certain meta-Fibonacci recurrences of the form $f(n)=f(n-f(n-1))+f(n-2)$ for various sets of initial conditions. In the case when $f(n)=1$ for $n\leq 1$, we prove that the resulting integer sequence is closely related to the function counting binary partitions of a certain type.