Series from For loop (is there a repository for Integer Sequences?)

@GoToLoop I am getting this for the println lines:
Type String [ ] of the last argument to method println(Object…) doesn’t exactly match the vararg parameter type. Cast to Object [ ] to confirm the non-varargs invocation, or pass individual arguments of type Object for a varargs invocation.