Skip to content

Instantly share code, notes, and snippets.

@edcrypt
Created January 11, 2019 12:47
Show Gist options
  • Save edcrypt/51db3bfe2e193ffe8085c184559f926e to your computer and use it in GitHub Desktop.
Save edcrypt/51db3bfe2e193ffe8085c184559f926e to your computer and use it in GitHub Desktop.
| seq |
seq := OrderedCollection with: 1 with: 1.
1 to: 1000 do: [ :n |
seq add: (seq last * ((4 * n) + 2)) / (n + 2)].
seq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment