the solution of the NumberOfDiscIntersections