code: public static IntStream numberRangeWithCount(int start, int interval,
              int count) {
          return IntStream.iterate(start, n -> n + interval).limit(count);
      }
docs: Number range with count int stream.
  
  @param start    the start
  @param interval the interval
  @param count    the count
  @return the int stream