Common Difference and Number of Terms