Stanley's averaging procedure on {1, ..., n}: the least and the most numbers of moves

A move on a finite multiset of integers replaces two distinct elements a ≠ b of the same parity by two copies of (a+b)/2; the procedure stops when no move is possible. Richard Stanley asked on MathOverflow (question 373175, 2020) for the least and the most numbers of moves to termination from {1, ..., n}. We prove that the most is (n3−n)/24 for odd n and (n3−4n)/24 for even n, and the least is (n−1)/2 for odd n and 2⌊n/4⌋ for even n. The upper bound comes from the variance, which drops by at least 2 at each move; it is attained because a move between x−1 and x+1 is a chip-firing move run backwards, so a maximal sequence is the reversal of the stabilisation of one pile of chips (two adjacent piles for even n), whose odometer is given explicitly. The lower bound counts distinct values, with a parity argument when 4 divides n. Which player wins the two-player game for odd n remains open; computed values are recorded for n ≤ 15. The whole theorem, both bounds and both constructions for every n, is formally verified in Lean 4; the exact values for n ≤ 16 and the constructions for n ≤ 300 are also checked by two independent programs. Preprint, not peer reviewed. The author used AI tools (Claude, Anthropic; Codex, OpenAI) and is responsible for the content. This record is identical to the folder stanley-averaging-moves at tag stanley-averaging-moves-v1 of https://github.com/jvvk/mathematics.

Authors

Publication Details

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

Stanley's averaging procedure on {1, ..., n}: the least and the most numbers of moves

Vamshi Jandhyala
Zenodo (CERN European Organization for Nuclear Research)
Advanced Combinatorial Mathematics
preprint

Stanley's averaging procedure on {1, ..., n}: the least and the most numbers of moves

Vamshi Jandhyala
preprint en

Abstract

A move on a finite multiset of integers replaces two distinct elements a ≠ b of the same parity by two copies of (a+b)/2; the procedure stops when no move is possible. Richard Stanley asked on MathOverflow (question 373175, 2020) for the least and the most numbers of moves to termination from {1, ..., n}. We prove that the most is (n3−n)/24 for odd n and (n3−4n)/24 for even n, and the least is (n−1)/2 for odd n and 2⌊n/4⌋ for even n. The upper bound comes from the variance, which drops by at least 2 at each move; it is attained because a move between x−1 and x+1 is a chip-firing move run backwards, so a maximal sequence is the reversal of the stabilisation of one pile of chips (two adjacent piles for even n), whose odometer is given explicitly. The lower bound counts distinct values, with a parity argument when 4 divides n. Which player wins the two-player game for odd n remains open; computed values are recorded for n ≤ 15. The whole theorem, both bounds and both constructions for every n, is formally verified in Lean 4; the exact values for n ≤ 16 and the constructions for n ≤ 300 are also checked by two independent programs. Preprint, not peer reviewed. The author used AI tools (Claude, Anthropic; Codex, OpenAI) and is responsible for the content. This record is identical to the folder stanley-averaging-moves at tag stanley-averaging-moves-v1 of https://github.com/jvvk/mathematics.

Zenodo (CERN European Organization for Nuclear Research)
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