this is just an arithmetic sequence
the sum of the entire sequence is the average of the first and last numbers of the sequence, times how many numbers there are.
(2 + 104)/2 = 53 times the numbers in the entire sequence ((104-2)+1 inclusive) =
53 times 103 = 5459
so when we divide, 5459 we get 779 with remainder:
6