A new algorithm of computing statistics of a longest of runs test is proposed for the case of equal probability Bernoulli trials processes. The algorithm is founded on the analysis of the event tree diagram, which has shown the role of Fibonacci numbers of higher orders in counting the number of outcomes of interest in the sample space. The proof by induction is given. Compared to the classical...