Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created September 20, 2019 17:03
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 parzibyte/04c5cc28a9caeed96e30e5bf64834c43 to your computer and use it in GitHub Desktop.
Save parzibyte/04c5cc28a9caeed96e30e5bf64834c43 to your computer and use it in GitHub Desktop.
1 % 1 = 0
1 % 2 = 1
1 % 3 = 1
1 % 4 = 1
2 % 1 = 0
2 % 2 = 0
2 % 3 = 2
2 % 4 = 2
3 % 1 = 0
3 % 2 = 1
3 % 3 = 0
3 % 4 = 3
4 % 1 = 0
4 % 2 = 0
4 % 3 = 1
4 % 4 = 0
5 % 1 = 0
5 % 2 = 1
5 % 3 = 2
5 % 4 = 1
6 % 1 = 0
6 % 2 = 0
6 % 3 = 0
6 % 4 = 2
7 % 1 = 0
7 % 2 = 1
7 % 3 = 1
7 % 4 = 3
8 % 1 = 0
8 % 2 = 0
8 % 3 = 2
8 % 4 = 0
9 % 1 = 0
9 % 2 = 1
9 % 3 = 0
9 % 4 = 1
10 % 1 = 0
10 % 2 = 0
10 % 3 = 1
10 % 4 = 2
11 % 1 = 0
11 % 2 = 1
11 % 3 = 2
11 % 4 = 3
12 % 1 = 0
12 % 2 = 0
12 % 3 = 0
12 % 4 = 0
13 % 1 = 0
13 % 2 = 1
13 % 3 = 1
13 % 4 = 1
14 % 1 = 0
14 % 2 = 0
14 % 3 = 2
14 % 4 = 2
15 % 1 = 0
15 % 2 = 1
15 % 3 = 0
15 % 4 = 3
16 % 1 = 0
16 % 2 = 0
16 % 3 = 1
16 % 4 = 0
17 % 1 = 0
17 % 2 = 1
17 % 3 = 2
17 % 4 = 1
18 % 1 = 0
18 % 2 = 0
18 % 3 = 0
18 % 4 = 2
19 % 1 = 0
19 % 2 = 1
19 % 3 = 1
19 % 4 = 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment