Variable-length random number thing