Random number sequences utilities