Recognition: unknown
High-Precision Framework for Expected Hitting Times Analysis in the Dice-Sum Process
Pith reviewed 2026-05-08 07:26 UTC · model grok-4.3
The pith
A dynamic programming method with analytic truncation correction computes the expected dice-sum hitting time to perfect squares to 1017 decimal places.
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
The authors show that the expected hitting time for the cumulative sum of fair six-sided dice satisfies a single-variable dynamic-programming equation independent of the step index. Truncating the resulting infinite system at a large cutoff N and augmenting it with an analytically computed overshoot term yields strict two-sided error bounds. For the target set of perfect squares this procedure evaluates the expectation explicitly as 7.07976423755110510389555305690818489468..., correct to 1017 decimal places.
What carries the argument
The one-variable dynamic-programming formulation for expected hitting times together with an analytically derived overshoot correction term that supplies rigorous truncation-error bounds.
If this is right
- The reported numerical value is the exact expectation for the perfect-square target set within the stated 1017-place guarantee.
- The same truncation-plus-overshoot procedure applies to any other fixed target set and returns comparable two-sided error bounds.
- All computations require only constant memory and run in time linear in the chosen cutoff.
- The method removes explicit dependence on the number of rolls, replacing the usual two-variable formulation with a single-variable recurrence.
Where Pith is reading between the lines
- The same truncation technique could be applied to compute higher moments or the full distribution of the hitting time rather than only its expectation.
- The high-precision value for perfect squares offers a benchmark against which other approximation schemes for random-walk hitting times can be validated.
- Extensions to dice with different numbers of faces or to non-uniform step distributions would follow by replacing the transition probabilities in the recurrence while retaining the overshoot correction.
- The linear-time scaling suggests the framework remains practical even when the cutoff must be taken extremely large to reach machine precision.
Load-bearing premise
The tail behavior of the overshoot beyond any finite cutoff admits an exact analytic expression that produces strict two-sided bounds on the residual error.
What would settle it
A direct numerical solution of the full infinite system to a precision finer than 1017 decimals that differs from the reported value in any digit after the 1017th place.
Figures
read the original abstract
We study the expected number of rolls required for the cumulative sum of a fair six-sided die to first enter a prescribed target set $H\subset\mathbb{Z}_{\ge0}$. A one-variable dynamic-programming formulation is introduced that removes dependence on the roll count. Within this framework, the infinite process is truncated at a large cutoff $N$ and corrected by an analytically derived overshoot term that accounts for the rare event of exceeding $N$ before entering $H$. Explicit bounds on this residual yield a strict two-sided estimate of the truncation error. The method is numerically efficient, requiring constant memory and linear time in the cutoff. For the perfect-square target set $H=\{n^2:n\in\mathbb{N}\}$, all quantities are evaluated explicitly, yielding \[ \mathbb{E}[T]=7.07976423755110510389555305690818489468\ldots, \] provably correct to 1,017 decimal places. This constitutes the most precise result known to date and establishes a general framework for high-accuracy computation of discrete hitting times.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The manuscript introduces a one-variable dynamic-programming formulation for the expected hitting time T of the cumulative sum of fair six-sided die rolls to a target set H. The infinite process is truncated at cutoff N and corrected by an analytically derived overshoot term that supplies strict two-sided bounds on the residual truncation error. For H the set of perfect squares, all quantities are evaluated explicitly to obtain the numerical value E[T] = 7.07976423755110510389555305690818489468… claimed to be provably correct to 1,017 decimal places.
Significance. If the overshoot bounds are rigorously established, the work supplies the highest-precision explicit value known for this hitting-time expectation and a general, parameter-free computational framework that is memory-efficient and linear-time in the cutoff. The direct evaluation (no fitting or self-referential definitions) and the provision of explicit two-sided error bounds constitute clear strengths for reproducibility and verification.
minor comments (1)
- [Abstract] The abstract states that 'all quantities are evaluated explicitly'; the main text should clarify which components admit closed forms versus direct numerical evaluation under the DP.
Simulated Author's Rebuttal
We thank the referee for their positive summary, recognition of the significance of the overshoot bounds and computational framework, and recommendation to accept the manuscript.
Circularity Check
No significant circularity detected
full rationale
The derivation relies on a standard one-variable dynamic programming recurrence for the expected hitting time of a Markov chain on the non-negative integers, combined with a truncation at finite cutoff N whose residual error is bounded using an analytically derived overshoot correction from renewal theory. Both the DP setup and the overshoot bounds are obtained directly from the problem definition and standard probabilistic arguments; the final high-precision numerical value for the perfect-square target set is produced by explicit evaluation of the truncated system rather than by fitting, renaming, or self-referential closure. No load-bearing step reduces to a prior result by the same authors, to a fitted parameter renamed as a prediction, or to an ansatz smuggled through citation. The method is therefore self-contained against external benchmarks.
Axiom & Free-Parameter Ledger
axioms (2)
- standard math The six-sided die is fair and rolls are independent, following standard Kolmogorov probability axioms.
- domain assumption An analytically derivable overshoot distribution exists for the truncation at N that yields strict two-sided error bounds.
Forward citations
Cited by 1 Pith paper
-
When Does the Dice Sum Become Prime?
The expected number of die rolls until the sum is prime is computed to more than 1000 decimal places via DP truncation with exponential-decay error bounds.
Reference graph
Works this paper leans on
-
[1]
Feller,An Introduction to Probability Theory and Its Applications, Vol
W. Feller,An Introduction to Probability Theory and Its Applications, Vol. 1, John Wiley & Sons, New York, 1968
1968
-
[2]
Karlin,A First Course in Stochastic Processes, Academic Press, 1968
S. Karlin,A First Course in Stochastic Processes, Academic Press, 1968
1968
-
[3]
D. R. Cox,Renewal Theory, Methuen, London, 1962
1962
-
[4]
Feller,An Introduction to Probability Theory and Its Applications, Vol
W. Feller,An Introduction to Probability Theory and Its Applications, Vol. 2, John Wiley & Sons, New York, 1971
1971
-
[5]
Farahmand et al., Truncated approximate dynamic programming with task-dependent terminal value, inProceedings of the AAAI Conference on Artificial Intelligence30(1) (2016)
A. Farahmand et al., Truncated approximate dynamic programming with task-dependent terminal value, inProceedings of the AAAI Conference on Artificial Intelligence30(1) (2016)
2016
-
[6]
DasGupta, Solution to Puzzle 17,Institute of Mathematical Statistics Bulletin46(5) (2017), 9
A. DasGupta, Solution to Puzzle 17,Institute of Mathematical Statistics Bulletin46(5) (2017), 9. https://imstat.org/2017/07/14/ student-puzzle-corner-18-and-solution-to-puzzle-17/
2017
-
[7]
M. M. Conroy,A Collection of Dice Problems, Online note, 2018
2018
-
[8]
Alon and Y
N. Alon and Y. Malinovsky, Hitting a prime in 2.43 dice rolls (on average),The American Statistician77(3) (2023), 301–303
2023
-
[9]
Martinez and D
L. Martinez and D. Zeilberger, How many dice rolls would it take to reach your favorite kind of number?,Maple Transactions3(3) (2023), Autumn issue
2023
-
[10]
N. Alon, Y. Malinovsky, L. Martinez, and D. Zeilberger, Hitting k primes by dice rolls, The Electronic Journal of Combinatorics32(4) (2025), 4.16
2025
-
[11]
Billingsley,Probability and measure, John Wiley & Sons, 2017
P. Billingsley,Probability and measure, John Wiley & Sons, 2017
2017
-
[12]
Zeilberger, The C-finite Ansatz,The Ramanujan Journal31(1) (2013), 23–32
D. Zeilberger, The C-finite Ansatz,The Ramanujan Journal31(1) (2013), 23–32
2013
-
[13]
Kauers and P
M. Kauers and P. Paule,The Concrete Tetrahedron: Symbolic Sums, Recurrence Equations, Generating Functions, Asymptotic Estimates, Springer, Vienna, 2011. 15
2011
-
[14]
Krityakierne and T
T. Krityakierne and T. A. Thanatipanonda, C-finite, Holonomic, and C2-finite, inApplied Mathematical Analysis and Computations I: 1st SGMC, Statesboro, USA, April 2–3, 2021 (Virtual), Springer Proceedings in Mathematics & Statistics471(2024), 255–268
2021
-
[15]
Chern, Hitting a prime by rolling a die with infinitely many faces.The American Statistician78(3) (2024), 297–303
S. Chern, Hitting a prime by rolling a die with infinitely many faces.The American Statistician78(3) (2024), 297–303. 16
2024
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.