StatOnTheSide said:
Let the number n=1+5^25+5^50+5^75+5^100. Let the p be one of its factors.
Lemma4: (n,5-1)=(n,5^5-1)
=(n,5^25-1)=(n,5^25+1)=(n,5^50+5^25+1)=(n,5^75+5^50+5^25+1)=1.
Rather than check your proof of lemma 4, I've tried to generalise a bit in the hope of getting insight into the underlying structure.
Let [itex]n = \sum^{r-1}_{i=0}p^{ir^{t}}[/itex] and q be a prime factor of n.
With any r-dimensional integer vector (a
i) we can associate the sum [itex]\sum^{r-1}_{i=0}a_ip^{ir^{t}}[/itex]. Let D be the set of such vectors for which the sum is divisible by q.
D includes the 0 vector and the all-ones vector. It is closed under addition and subtraction. Since q divides [itex]p^{ir^{t+1}}-1[/itex], it is also closed under cyclic permutations of the co-ordinates. So D is a subspace, containing at least the subspace (x, x, ... x). If we could show that inclusion of just one more vector implied inclusion of (1, 0, 0...0) then it would follow that D consists of only that minimal subspace, so no non-empty proper subsum of [itex]\sum^{i=r-1}_{0}p^{ir^{t}}[/itex] is divisible by q.
For the specific case of r = 5, we have the following chains of inclusion (adopting an abbreviated notation here):
01000 [itex]\Rightarrow[/itex] 10000 etc.
11000 [itex]\Rightarrow[/itex] 00110 [itex]\Rightarrow[/itex] 11110 [itex]\Rightarrow[/itex] 00001
11100 [itex]\Rightarrow[/itex] 00011
10100 [itex]\Rightarrow[/itex] 01010 [itex]\Rightarrow[/itex] 11110
and so on
Thus for r = 5 we have the desired result.
5 maybe unique in this regard. E.g. it can't work for r = 11: putting p = 2, t = 1, the sum 1+2+4+16 is a factor of 2
11-1.