## Haskell, <s>34</s> 33 bytes

    n#x=take x$do j<-[1..];[j..j+n-1]

[Try it online!](https://tio.run/##y0gszk7Nyfn/P0@5wrYkMTtVoUIlJV8hy0Y32lBPL9Y6OktPL0s7T9cw9n9uYmaegq1CSj6XgkJBUWZeiYKKgqGCsoKJJZKAEVDA0MAAScQYJGL8HwA "Haskell – Try It Online")