SEQUENCE function

The SEQUENCE function allows you to generate a list of sequential numbers in an array.