Long-range percolation in one dimension