Skip to content

Instantly share code, notes, and snippets.

@aaylward
Last active August 1, 2023 01:50
Show Gist options
  • Save aaylward/14205f1bf9049037683b4d1e5a2f712d to your computer and use it in GitHub Desktop.
Save aaylward/14205f1bf9049037683b4d1e5a2f712d to your computer and use it in GitHub Desktop.
project euler #1 baby J solution
x =: 1 + i.999
z =: 0 & =
+/ ((z 3|x) >. (z 5|x)) * x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment