Skip to main content
added 2 characters in body
Source Link
clismique
  • 7k
  • 27
  • 72

Clojure, 7476 bytes

(defn s[n](if(= n 1)1111(read-string(subs(str(Math/pow*(s(dec n))2(s(dec n))))0 4))))

First Clojure golf (seems like a nice language). This is 1-indexed.

Will explain the code later.

Clojure, 74 bytes

(defn s[n](if(= n 1)1111(read-string(subs(str(Math/pow(s(dec n))2))0 4))))

First Clojure golf (seems like a nice language). This is 1-indexed.

Will explain the code later.

Clojure, 76 bytes

(defn s[n](if(= n 1)1111(read-string(subs(str(*(s(dec n))(s(dec n))))0 4))))

First Clojure golf (seems like a nice language). This is 1-indexed.

Will explain the code later.

Source Link
clismique
  • 7k
  • 27
  • 72

Clojure, 74 bytes

(defn s[n](if(= n 1)1111(read-string(subs(str(Math/pow(s(dec n))2))0 4))))

First Clojure golf (seems like a nice language). This is 1-indexed.

Will explain the code later.