The following warnings occurred:
Warning [2] Undefined variable $can_link - Line: 6 - File: showthread.php(1658) : eval()'d code PHP 8.5.12 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/showthread.php(1658) : eval()'d code 6 errorHandler->error_callback
/showthread.php 1658 eval




f57v Summation of sequences
#2
Summation of the digits of a number is equivalent with taking the remainder while dividing by 9.
In mathematical terms, the number, and the sum of its digits are the same, modulo 9.


Example: 147 = 16 x 9 + 3,  so the remainder is 3.
1+4+7= 12; 1+2 = 3.

When adding three series of numbers, of which one goes down by one (modulo 9) and the other two go up by one, the result is a series going up by one (always modulo 9).
Therefore, nothing surprising happened.
[+] 1 user says Thank You to ReneZ for this post
Reply


Messages In This Thread
f57v Summation of sequences - by R. Sale - 10-04-2018, 10:51 PM
RE: f57v Summation of sequences - by ReneZ - 11-04-2018, 07:25 AM
RE: f57v Summation of sequences - by R. Sale - 12-04-2018, 11:03 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)