First passage times of integer sequences and the cycle lemma #
Section 2.1 of the paper (source lines 685β690) defines, for a sequence
π± = (x_i)_{i β₯ 1} of integers, the first passage time
ΞΆ(π±) = inf {k β₯ 1 : x_1 + β― + x_k = -1}, with inf β
= +β; for a finite sequence it is
defined in the same way (the index k ranging over the available positions). Here a finite
sequence is a List β€ and +β is none.
We also prove the cycle lemma (the combinatorial core of eq:shifts, source lines 718β730):
a sequence of n β₯ 1 integers that are all β₯ -1 and sum to -1 has exactly one cyclic
shift whose first passage time to -1 is n.
The first passage time ΞΆ(π±) of a finite integer sequence to -1: the least k β₯ 1
(with k β€ x.length) such that x_1 + β― + x_k = -1, and none (the paper's +β) if there is
no such k.
Equations
Instances For
Skip-freeness: for a sequence with increments β₯ -1, if the partial sums of indices
1 β€ j < m avoid -1, then all partial sums of indices j < m are nonnegative.
Cycle lemma. A sequence of n β₯ 1 integers, all β₯ -1, with sum -1, has exactly one
cyclic shift x.rotate i (0 β€ i < n) whose first passage time to -1 is n.