Evaluating numerical algorithm
An arithmetic progression adds a fixed number d each time: . A geometric progression multiplies by a fixed number r: . Each has a formula for the sum of its first n terms.
For the AP 5, 9, 13, 17, …, find the 20th term and the sum of the first 20 terms.
Check with the first and last terms: ✓
The calculator below opens on this AP. Switch to GP or "AP or GP?" to test a sequence of your own.