A certain number of plants have been purchased to be planted in rows in a garden. If the plants are planted 6 plants per row, 8 plants per row, or 10 plants per row, there is always 1 plant left over. What is the minimum number of plants that were purchased?