Skip to content

Instantly share code, notes, and snippets.

@Archer70
Created April 21, 2017 01:46
Show Gist options
  • Save Archer70/75c4b724e1fa0628f88c276ebf87921e to your computer and use it in GitHub Desktop.
Save Archer70/75c4b724e1fa0628f88c276ebf87921e to your computer and use it in GitHub Desktop.
(defn fibonacci [number]
(if (<= number 1) number
(+ (fibonacci (- number 1)) (fibonacci (- number 2)))))
(map fibonacci (range 0 29))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment