In this work we tried to prove the lonely runner conjecture also known as the view obstruction problem.