Ordered departure stacks in the XOR-count walk

Write \(a(1)=0\) and \(a(t+1)=a(t)\oplus j(t)\), where \(j(t)\) counts visits to the current value strictly before position \(t\). Positions are one-based. At \(N=2^k,\ k\ge1\), the first visit outside \(\{0,\ldots,N-1\}\) lands at \(N\) at \(f(N)=(5N^2+16)/6\). The ordered departure stack at \(i\) lists \(i\to i\oplus j\) for successive \(j\ge0\). Balanced deletions from the stacks leave an initial trail forced to exhaust the remaining departures. For Hutchinson's prefix bound in A340488, among the first \(N^2\) terms each \(i<N\) occurs at least \(3N/4\) times, with optimal uniform coefficient. Every nonnegative value recurs infinitely. For Sigrist and Sloane, A340494, the first position of \(u\) is \(f(u)=1+\sum_{j\ge0}\epsilon_j(u)w_j\), where \(\epsilon_j(u)\) is bit \(j\), \(w_0=2\), and \(w_j=(5\cdot4^j+10)/6\) for \(j\ge1\). With \(g(1+v_2(u))=f(u)-f(u-1)\), the generating function of \(g(t)\) for \(t\ge1\) is \(z(2z-1)(2z^2+5z-2)/((1-z)^2(1-4z))\). For Sigrist's delay question in A340488, the interval in positions from first to \(q\)th visit is periodic in the value starting at zero. For \(q\ge3\), any power of two \(P\ge4\) with \(q\le3P/4\) is a period. For Sloane's two zero comparisons in A340488, zero is at least as frequent as each other value in every prefix, and is strictly first to reach each visit multiplicity. For Sigrist's zero-position question, the \((r+1)\)st zero lies at position A336190\((r)\) for every \(r\ge0\).

Authors

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-30
DOI
https://doi.org/10.5281/zenodo.24670193
Primary Topic
Advanced Combinatorial Mathematics
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Ordered departure stacks in the XOR-count walk

Zixuan He
Zenodo (CERN European Organization for Nuclear Research)
Advanced Combinatorial Mathematics
preprint

Ordered departure stacks in the XOR-count walk

Zixuan He
preprint en

Abstract

Write \(a(1)=0\) and \(a(t+1)=a(t)\oplus j(t)\), where \(j(t)\) counts visits to the current value strictly before position \(t\). Positions are one-based. At \(N=2^k,\ k\ge1\), the first visit outside \(\{0,\ldots,N-1\}\) lands at \(N\) at \(f(N)=(5N^2+16)/6\). The ordered departure stack at \(i\) lists \(i\to i\oplus j\) for successive \(j\ge0\). Balanced deletions from the stacks leave an initial trail forced to exhaust the remaining departures. For Hutchinson's prefix bound in A340488, among the first \(N^2\) terms each \(i<N\) occurs at least \(3N/4\) times, with optimal uniform coefficient. Every nonnegative value recurs infinitely. For Sigrist and Sloane, A340494, the first position of \(u\) is \(f(u)=1+\sum_{j\ge0}\epsilon_j(u)w_j\), where \(\epsilon_j(u)\) is bit \(j\), \(w_0=2\), and \(w_j=(5\cdot4^j+10)/6\) for \(j\ge1\). With \(g(1+v_2(u))=f(u)-f(u-1)\), the generating function of \(g(t)\) for \(t\ge1\) is \(z(2z-1)(2z^2+5z-2)/((1-z)^2(1-4z))\). For Sigrist's delay question in A340488, the interval in positions from first to \(q\)th visit is periodic in the value starting at zero. For \(q\ge3\), any power of two \(P\ge4\) with \(q\le3P/4\) is a period. For Sloane's two zero comparisons in A340488, zero is at least as frequent as each other value in every prefix, and is strictly first to reach each visit multiplicity. For Sigrist's zero-position question, the \((r+1)\)st zero lies at position A336190\((r)\) for every \(r\ge0\).

Zenodo (CERN European Organization for Nuclear Research)
University of Glasgow (GB)
Advanced Combinatorial Mathematics
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
Ordered departure stacks in the XOR-count walk — Zixuan He · Zenodo (CERN European Organization for Nuclear Research) (2026) | TGRS Research Map | TGRS