I have one doubt in the provided solution. Just taking a small example to explain my approach.
For example -> let us say 2 earth quake occur in 4 years then various possibilities are
(1,2) (1,3) (1,4)
(2,3) (2,4)
(3,4)
where (x, y) means first and second earth quake occurs on year x, y respectively. Above table is representing all possibilities.
Total 6 possibility and sum of time between successive earth quake is (1+2+3 + 1+2 + 1) = 10
So average time between two earth quake is 10/6 = 1.6
But answer will come 2 if method mentioned in various answer is used. So where am i doing mistake ?