Consider following inputs:
1,1,2,3,5,8 – it isn’t random
2,4,8,16,32 – this neither
4,1,2,11,5,9– this one looks like random-sequence
I would like to ask if is there such algorithm to prove if input is random or it isn’t?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No, there is no such prove – if you have perfectly random numbers, the probability of each sequence of length n is equal.
However, there are statistical tests to asses the quality of a random number generator, which is probably what you are looking for. See Diehard tests.