Zero-density symbols have zero fixed-block local entropy

Does the prime indicator have positive local entropy when word frequencies are sampled at a fixed block length? The paper proves that its local entropy is zero, and that the same conclusion holds for every binary sequence whose ones have natural density zero. For a binary sequence \(b=(b_j)_{j\ge1}\), let \(A(N)\) count the ones in its first \(N\) entries. For integers \(N\ge n\ge1\) and \(w\in\{0,1\}^n\), the empirical frequencies and local entropy in bits are \[p_{n,N}(w)=\frac{\#\{1\le i\le N-n+1:(b_i,\ldots,b_{i+n-1})=w\}}{N-n+1},\qquad h_{\mathrm{loc}}(b)=\lim_{n\to\infty}\lim_{N\to\infty}\frac{H(p_{n,N})}{n},\] where \(H(p)=-\sum_w p(w)\log_2 p(w)\) and \(0\log_2 0=0\). A one belongs to at most \(n\) of the overlapping windows. Writing \(\varepsilon=1-p_{n,N}(0^n)\) for the total frequency of nonzero words gives \[0\le\varepsilon\le\frac{nA(N)}{N-n+1},\qquad 0\le H(p_{n,N})\le h_2(\varepsilon)+\varepsilon\log_2(2^n-1),\] where \(h_2\) is binary Shannon entropy in bits. The fixed alphabet has at most \(2^n-1\) nonzero words, so vanishing mass on those words implies vanishing entropy at each fixed \(n\). The hypothesis \(A(N)=o(N)\) holds for the primes by Chebyshev's bound and includes the extra one at index \(1\) in Blank's sequence. The value stays zero with upper or lower limits in either position and in any fixed logarithm base greater than one. The result concerns the prefix limit taken at fixed block length. Joint limits and other notions of entropy for the primes lie outside it. Blank, §5, Remark 5.1. What is the exact local entropy of the binary sequence with ones precisely at index \(1\) and the prime indices, using the empirical Shannon entropy per symbol of overlapping length-\(n\) windows in the first \(N\) symbols, with \(N\to\infty\) taken before \(n\to\infty\)? It is zero. The entropy already tends to zero for every fixed block length, since the empirical law concentrates on the all-zero word on a fixed finite alphabet. This holds for every binary sequence whose ones have natural density zero.

Authors

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-12-01
DOI
https://doi.org/10.5281/zenodo.24700331
Primary Topic
Mathematical Dynamics and Fractals
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Zero-density symbols have zero fixed-block local entropy

Zixuan He
Zenodo (CERN European Organization for Nuclear Research)
Mathematical Dynamics and Fractals
preprint

Zero-density symbols have zero fixed-block local entropy

Zixuan He
preprint en

Abstract

Does the prime indicator have positive local entropy when word frequencies are sampled at a fixed block length? The paper proves that its local entropy is zero, and that the same conclusion holds for every binary sequence whose ones have natural density zero. For a binary sequence \(b=(b_j)_{j\ge1}\), let \(A(N)\) count the ones in its first \(N\) entries. For integers \(N\ge n\ge1\) and \(w\in\{0,1\}^n\), the empirical frequencies and local entropy in bits are \[p_{n,N}(w)=\frac{\#\{1\le i\le N-n+1:(b_i,\ldots,b_{i+n-1})=w\}}{N-n+1},\qquad h_{\mathrm{loc}}(b)=\lim_{n\to\infty}\lim_{N\to\infty}\frac{H(p_{n,N})}{n},\] where \(H(p)=-\sum_w p(w)\log_2 p(w)\) and \(0\log_2 0=0\). A one belongs to at most \(n\) of the overlapping windows. Writing \(\varepsilon=1-p_{n,N}(0^n)\) for the total frequency of nonzero words gives \[0\le\varepsilon\le\frac{nA(N)}{N-n+1},\qquad 0\le H(p_{n,N})\le h_2(\varepsilon)+\varepsilon\log_2(2^n-1),\] where \(h_2\) is binary Shannon entropy in bits. The fixed alphabet has at most \(2^n-1\) nonzero words, so vanishing mass on those words implies vanishing entropy at each fixed \(n\). The hypothesis \(A(N)=o(N)\) holds for the primes by Chebyshev's bound and includes the extra one at index \(1\) in Blank's sequence. The value stays zero with upper or lower limits in either position and in any fixed logarithm base greater than one. The result concerns the prefix limit taken at fixed block length. Joint limits and other notions of entropy for the primes lie outside it. Blank, §5, Remark 5.1. What is the exact local entropy of the binary sequence with ones precisely at index \(1\) and the prime indices, using the empirical Shannon entropy per symbol of overlapping length-\(n\) windows in the first \(N\) symbols, with \(N\to\infty\) taken before \(n\to\infty\)? It is zero. The entropy already tends to zero for every fixed block length, since the empirical law concentrates on the all-zero word on a fixed finite alphabet. This holds for every binary sequence whose ones have natural density zero.

Zenodo (CERN European Organization for Nuclear Research)
University of Glasgow (GB)
Mathematical Dynamics and Fractals
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon