In this code:
Random random = new Random(441287210);
for(int i=0;i<10;i++)
System.out.print(random.nextInt(10)+\" \");
}
The output
If you use for(int i=0;i<100;i++)
, the sequence outputted is "more random" again. The probability of a random sequence of ten 1
s in succession occuring might be small, but it's not impossible. (Insofar that given enough samples, any sequence is almost certain to occur.)
It's merely an interesting coincidence.