I'm not sure what you are trying to prove. If it is that 111...111 is divisible byanyprime other than 5,that's simply not true- there exist primes larger than that number itself! And, of course, 11 and 111 are themselves prime. It is trivial to prove that such a number is not divisible by 5. What, exactly, is it that you are trying to prove?