|
The dividability code into 7 is 2 (two). The following example illustrate this.
In each step, the code is multiplied by the last digit on the right and subtracted from the remaining digits.
| 179739=> |
17973 - 9 * 2 |
| 17955=> |
1795 - 5 * 2 |
| 1785=> |
178 - 5 * 2 |
| 168=> |
16 - 8 * 2 |
The remainder is either zero or a multiple of seven. It is noteworthy that at each step the result is a multiple of seven itself.
If the considered number is not a multiple of seven, the remainder of the division shouldbe determined.To do this, I have described the following pattern. E.g:
What is the remainder of the division of the number 89367471 into seven ?
| 2=> |
89367471=> |
8936744 -1 * 2 |
| 3=> |
8936742=> |
893674 - 2 * 2 |
| 1=> |
893670=> |
893676 - 0 * 2 |
| 5=> |
89367 => |
8936 - 7 * 2 |
| 6=> |
888=> |
88 - 8 * 2 |
| 2=> |
72=> |
7 - 2 * 2 |
| 3=> |
3 |
|
The last remainder is determined and the previous remainders according to the above-mentioned pattern, in an anti-clockwise order. Thus the final remainder is determined. |