We will find that the range of this set is k - 1.
The range of a set is given by the difference between the largest number and the smallest number.
Two consecutive integers are written as:
N and (N + 1).
Where N is a given integer.
Then the set of k consecutive integers is:
{N, N + 1, ..., N + k - 1}
The range is just the difference between the largest and the smallest number, we will get:
(N + k - 1) - N = k - 1
The range of this set is k - 1