code: public static List<Long> sequence(long min, long max)
       {
           long count = nextLong(min, max);
  
           List<Long> result = new ArrayList<Long>();
           for (long i = 0; i < count; i++)
               result.add(i);
  
           return result;
       }
docs: Generates a random sequence of longs starting from 0 like: [0,1,2,3...??]
  
  @param min minimum value of the long that will be generated. If 'max' is
  omitted, then 'max' is set to 'min' and 'min' is set to 0.
  @param max (optional) maximum value of the long that will be generated.
  Defaults to 'min' if omitted.
  @return generated array of longs.