- #1
Floating Info
- 8
- 0
Homework Statement
Prove or disprove that:
[itex]\frac{{\sum_{i=0}^{ord_N (2) - 1}} (2^i \bmod N)}{N}[/itex]
Is equal to the number of odd residue classes of [itex]2^x \bmod N[/itex] for all odd numbers N greater than 1.
Homework Equations
Residue Classes are the residues that are generated by a function mod N.
The Attempt at a Solution
I've tried to split up the residue classes of [itex]2^x \bmod N[/itex] into different sets, each starting with an odd and including the evens directly after it. I've then added up the elements of each set and subtracted the sum of each set by the modulus. If this is true, the sum of all of these results from the sets should always equal 0. Here is an example for 35:
[itex]2^0[/itex] = 1
[itex]2^1[/itex] = 2
[itex]2^2[/itex] = 4
[itex]2^3[/itex] = 8
[itex]2^4[/itex] = 16
[itex]2^5[/itex] = 32
[itex]2^6[/itex] = 29
[itex]2^7[/itex] = 23
[itex]2^8[/itex] = 11
[itex]2^9[/itex] = 22
[itex]2^{10}[/itex] = 9
[itex]2^{11}[/itex] = 18
{1 + 2 + 4 + 8 + 16 + 32 - 35}
{29 - 35}
{23 - 35}
{11 + 22 - 35}
{9 + 18 - 35}
28 - 6 - 12 - 2 - 8 = 0
However, I have found no significant pattern in these values across different moduli that would suggest that it should always equal 0.
I've also used Mathematica to check all cases up to 9999.
Last edited: