(define (task a b n) (if (> a b) '() (cons a (task (+ a n) b n))))(display (task 1 11 3))
Standard input is empty
(1 4 7 10)
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!