python - Near seeds in random number generation may give similar random numbers? -


i'm using sequential seeds (1,2,3,4,...) generation of random numbers in simulation. fact seeds near each other make generated pseudo-random numbers similar well?

i think doesn't change anything, i'm using python

edit: have done tests , numbers don't similar. i'm afraid similarity cannot noticed looking @ numbers. there theoretical feature of random number generation guarantees different seeds give independent pseudo-random numbers?

there correlation between seed , random numbers generated, definition. question whether randomization algorithm sufficient produce results seem uncorrelated, , should study on methods evaluating randomness answer question.

you right concerned though. here results microsoft's c++ rand function seed values 0 9:

   38  7719 21238  2437  8855 11797  8365 32285 10450 30612    41 18467  6334 26500 19169 15724 11478 29358 26962 24464    45 29216 24198 17795 29484 19650 14590 26431 10705 18316    48  7196  9294  9091  7031 23577 17702 23503 27217 12168    51 17945 27159   386 17345 27504 20815 20576 10960  6020    54 28693 12255 24449 27660 31430 23927 17649 27472 32640    58  6673 30119 15745  5206  2589 27040 14722 11216 26492    61 17422 15215  7040 15521  6516 30152 11794 27727 20344    64 28170   311 31103 25835 10443   497  8867 11471 14195    68  6151 18175 22398  3382 14369  3609  5940 27982  8047 

Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -