(defn generate-multiple [q n]
  (loop [i 1]  
  (when (<= i n)    
    (print (* q i)" ")    
    (recur (inc i)); loop i will take this value
))
)
(print "[")
(generate-multiple 3 4)
(print "]")

Embed on website

To embed this program on your website, copy the following code and paste it into your website's HTML: