Bipolarity
- 773
- 2
I'm trying to prove something in modular arithmetic that I came upon across my studies in comp sci. Consider a set of natural numbers {n_{1},n_{2},n_{3},...n_{k}}
Consider two more natural numbers m and p such that
(\sum^{k}_{i=1}n_{i} ) \ mod \ m = p
Now prove that
((((n_{1} \ mod \ m + n_{2}) \ mod \ m + n_{3}) \ mod \ m + n_{4}) \ mod \ m + ... + n_{k}) \ mod \ m = p
All help would be appreciated.
BiP
Consider two more natural numbers m and p such that
(\sum^{k}_{i=1}n_{i} ) \ mod \ m = p
Now prove that
((((n_{1} \ mod \ m + n_{2}) \ mod \ m + n_{3}) \ mod \ m + n_{4}) \ mod \ m + ... + n_{k}) \ mod \ m = p
All help would be appreciated.
BiP