Exact solution of the one-dimensional percolation problem with further neighbour bonds