Skip to content

Instantly share code, notes, and snippets.

@gvn
Last active December 12, 2015 06:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gvn/4727701 to your computer and use it in GitHub Desktop.
Save gvn/4727701 to your computer and use it in GitHub Desktop.

In a repeating sequence of integers the sum of any group of concurrent integers of the same length as the pattern will always be the same.

IE:

1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 ...

5 + 1 + 2 + 3 + 4 = 15
1 + 2 + 3 + 4 + 5 = 15
4 + 5 + 1 + 2 + 3 = 15

@gvn
Copy link
Author

gvn commented Feb 7, 2013

Commutative property of addition

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment