Hi Arjun
I tried to prove it by Math Induction.
The idea is- if we have n-digit number repeating 6 times, that number can be given by,
NUMBER=a * Sigma of (b ^ i) where i=0 to 5
b = 10 ^ n
a = the number that is getting repeated 6 times.
e.g.
1. in 111111 , a = 1, b = 10 ^ 1
2. in 898989898989 , a = 89, b = 10 ^ 2
3. in 307307307307307307 , a = 307, b = 10 ^ 3 and so on...
now, by Math Induction,
Case 1: n =1
------------
NUMBER = a * Sigma (10 ^ i) where i = 0 to 5
=> NUMBER = a * 111111
Which is divisible by 7,
Case 2: Assume for n=k statement is true i.e.
---------------------------------------------
NUMBER = a * Sigma (10 ^ (k*i) ) where i = 0 to 5
is divisible by 7
Case 3: For n=k+1 we have,
--------------------------
NUMBER = a * Sigma (10 ^ ((k+1)*i) ) where i = 0 to 5
=> NUMBER = a * Sigma (10 ^ (k*i + i) )
=> NUMBER = 10* a * Sigma (10 ^ (k*i))
=> NUMBER = 10 * a * NUMBER_FOR_(n=k)
and From case-2 we know NUMBER_FOR_(n=k) is divisible by 7 hence the current NUMBER is also divisible by 7...
Well, this is quite simple approach but I don't know how to validate if Math Induction is really applicable here. I know in some cases we can't apply Math Induction. e.g. To prove that Person having many hair on head is bald
So any mathematician might want to explain this from pure math perspective..
Regards,
Maulin