Searcharxiv⌕ Search

arXiv subjects

Bartosz Sobolewski

Publications and source records attributed to Bartosz Sobolewski.

12 recordsLinked to original sources

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.

math.NT↗

Binary sequences meet the Fibonacci sequence

We introduce a new family of meta-Fibonacci sequences $(f(n))_{n\in\mathbb{N}}$, governed by the recurrence relation $$f(n)=af(n-u_{n}-1)+bf(n-u_{n}-2),$$ where $\mathbf{u}=(u_{n})_{n\in \mathbb{N}}$ is a sequence with values $0,1$. Our study focuses on the properties of the sequence of quotients $h(n) = f(n+1)/f(n)$ and its set of values $\mathcal{V}(f)=\{h(n): n \in \mathbb{N}\}$ for various $\mathbf{u}$. We give a sufficient condition for finiteness of $\mathcal{V}(f)$ and automaticity of $(h(n))_{n \in \mathbb{N}}$, which holds in particular when $\mathbf{u}$ is the famous Prouhet-Thue-Morse sequence. In the automatic case, a constructive approach is used, with the help of the software \texttt{Walnut}. On the other hand, we prove that the set $\cal{V}(f)$ is infinite for other special binary sequences $\mathbf{u}$, and obtain a trichotomy in its topological type when $\mathbf{u}$ is eventually periodic.

math.NT↗

Decomposing the sum-of-digits correlation measure

Let $s(n)$ denote the number of ones in the binary expansion of the nonnegative integer $n$. How does $s$ behave under addition of a constant $t$? In order to study the differences \[s(n+t)-s(n),\] for all $n\ge0$, we consider the associated characteristic function $γ_t$. Our main theorem is a structural result on the decomposition of $γ_t$ into a sum of \emph{components}. We also study in detail the case that $t$ contains at most two blocks of consecutive $1$s. The results in this paper are motivated by \emph{Cusick's conjecture} on the sum-of-digits function. This conjecture is concerned with the \emph{central tendency} of the corresponding probability distributions, and is still unsolved.

math.NT↗

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}$.

math.NT↗

Block occurrences in the binary expansion

The binary sum-of-digits function $\mathsf{s}$ returns the number of ones in the binary expansion of a nonnegative integer. Cusick's Hamming weight conjecture states that, for all integers $t\geq 0$, the set of nonnegative integers $n$ such that $\mathsf{s}(n+t)\geq \mathsf{s}(n)$ has asymptotic density strictly larger than $1/2$. We are concerned with the block-additive function $\mathsf{r}$ returning the number of (overlapping) occurrences of the block $\mathtt{11}$ in the binary expansion of $n$. The main result of this paper is a central limit-type theorem for the difference $\mathsf{r}(n+t)-\mathsf{r}(n)$: the corresponding probability function is uniformly close to a Gaussian, where the uniform error tends to $0$ as the number of blocks of ones in the binary expansion of $t$ tends to $\infty$.

math.NT↗

On monochromatic arithmetic progressions in binary words associated with pattern sequences

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.

math.CO↗

Values of binary partition function represented by a sum of three squares

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$.

math.NT↗

Solutions of certain meta-Fibonacci recurrences

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.

math.NT↗

On $k$-regularity of sequences of valuations and last nonzero digits

Let $b \geq 2$ be an integer base with prime factors $p_1, \ldots, p_s$. In this paper we study sequences of "$b$-adic valuations" and last nonzero digits in $b$-adic expansions of the values $f(n) = (f_1(n), \ldots, f_s(n))$, where each $f_i$ is a $p_i$-adic analytic function. We give a complete classification concerning $k$-regularity of these sequences, which generalizes a result for $b$ prime obtained by Shu and Yao. As an application, we strengthen a theorem by Murru and Sanna on $b$-adic valuations of Lucas sequences of the first kind. Moreover, we derive a method to determine precisely which terms of these sequences can be represented by certain ternary quadratic forms.

math.NT↗

Cyclotomic properties of polynomials associated with automatic sequences

We show that polynomials associated with automatic sequences satisfy a certain recurrence relation when evaluated at a root of unity, which generalizes a result of Brillhart, Lomont and Morton on the Rudin--Shapiro polynomials. We study the minimal order of such a relation and the integrality of its coefficients.

math.NT↗

On the last nonzero digits of $n!$ in a given base

In this paper we study the sequence of strings of $k$ last nonzero digits of $n!$ in a given base $b$. We determine for which $b$ this sequence is automatic and show how to generate it using a uniform morphism. We also compute how often each possible string of $k$ digits appears as the $k$ last nonzero digits of $n!$.

math.NT↗

The 2-adic valuation of generalized Fibonacci sequences with an application to certain Diophantine equations

In this paper we focus on finding all the factorials expressible as a product of a fixed number of $2k$-nacci numbers with $k \geq 2$. We derive the 2-adic valuation of the $2k$-nacci sequence and use it to establish bounds on the solutions of the initial equation. In addition, we specify a more general family of sequences, for which we can perform a similar procedure. We also investigate a possible connection of these results with $p$-regular sequences.

math.NT↗