Skip to content

Instantly share code, notes, and snippets.

@muraiki muraiki/28.apl
Created Jul 28, 2017

Embed
What would you like to do?
Generate series of 28 numbers in ascending order that total close to 1500 (APL)
https://ngn.github.io/apl/web/index.html#code=s%u21902%D71+%u237314%0Ax%u2190%28s%2C-s%29+%284%D7%u237328%29%0A%u2395%20%u2190x%5B%u234Bx%5D%0A%u2395%20%u2190+/x
s2×1+14
x(s,-s)+(4×28)
x[x]
+/x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.