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 n = \sum^{r-1}_{i=0}p^{ir^{t}} and q be a prime factor of n.
With any r-dimensional integer vector (a
i) we can associate the sum \sum^{r-1}_{i=0}a_ip^{ir^{t}}. 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 p^{ir^{t+1}}-1, 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 \sum^{i=r-1}_{0}p^{ir^{t}} is divisible by q.
For the specific case of r = 5, we have the following chains of inclusion (adopting an abbreviated notation here):
01000 \Rightarrow 10000 etc.
11000 \Rightarrow 00110 \Rightarrow 11110 \Rightarrow 00001
11100 \Rightarrow 00011
10100 \Rightarrow 01010 \Rightarrow 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.