(defn sum [n] (* n (inc n) 1/2)) (print (sum 1000))
Standard input is empty
500500N
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!