Journals
Publish with us
Publishing partnerships
About us
Blog
Mathematical Problems in Engineering
Journal overview
For authors
For reviewers
For editors
Table of Contents
Special Issues
Mathematical Problems in Engineering
/
2015
/
Article
/
Alg 7
/
Research Article
New Statistical Randomness Tests Based on Length of Runs
Algorithm 7
Generation of biased sequence
.
Let
be the outputs of a random number
generator and
for
while
do
if
then
else
end if
end while
return