code: public static Interval oneToBy(int count, int step)
      {
          if (count < 1)
          {
              throw new IllegalArgumentException("Only positive ranges allowed using oneToBy");
          }
          return Interval.fromToBy(1, count, step);
      }
docs: Returns an Interval starting from 1 to the specified count value with a step value of step.