The uniform sum distribution is the statistical distribution of the sum of
independent random
variables, each having the uniform distribution
on the interval
, where
is a positive integer.
Its probability density function can
be found directly as
|
(1)
|
where
is the delta function.
A more elegant approach uses the characteristic function to obtain
|
(2)
|
where the Fourier transform parameters are taken as
and
is the sign function. Write
. The first few probability
density functions are then given by
|
(3)
| ||||
|
(4)
| ||||
|
(5)
| ||||
|
(6)
|
illustrated above.
The expectation value of the number of independent picks from a uniform distribution on
needed for their sum to first exceed 1 is e
(Derbyshire 2004, pp. 366-367). Let
be the probability
that the sum first exceeds a threshold
on the
th pick. Since the picks are nonnegative, the probability
that the sum of
picks exceeds 1 while the sum of the
first
does not is, for
,
|
(7)
| |||
|
(8)
| |||
|
(9)
|
For
the probability is zero. The values for
, 2, ... are 0, 1/2, 1/3, 1/8, 1/30, 1/144, 1/840, 1/5760,
1/45360, ..., whose nonzero denominators are given by OEIS A001048.
The expectation value of the number of picks
needed to first exceed 1 is then
|
(10)
|
For the sum to first exceed 2, the corresponding probability is zero for
and 2. For
,
|
(11)
| |||
|
(12)
|
The first few terms are therefore 0, 0, 1/6, 1/3, 11/40, 13/90, 19/336, 1/56, 247/51840, 251/226800, ... (OEIS A090137 and A090138). The expectation value of the number of picks needed to first exceed 2 is then
|
(13)
| |||
|
(14)
| |||
|
(15)
|
The following table summarizes the expectation value
of the number of picks needed for the sum to first exceed
a positive integer
(OEIS A089087). A closed
form is given by
|
(16)
|
(Uspensky 1937, p. 278).