(println (map #(reduce +(map(fn[x](* x x))(range 1(Math/sqrt %)2))) [1 2 9 10 9801 9802 10000]))
Standard input is empty
(0 1 1 10 156849 166650 166650)
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!