artooras
artooras

Reputation: 6795

Geometric progression having the first and last values and the number of steps

Here's the task at hand:

So, a simple arithmetic progression would be to use the difference of 5 for each step. However, I want the difference between steps 19-20 to be the biggest and the difference between steps 1-2 to be the smallest, with the rest of values progressively between the two.

What are my options? How do I go about solving this?

Upvotes: 0

Views: 57

Answers (1)

user3235832
user3235832

Reputation:

Ratio between successive terms in a progression with first value A, last value B and number of steps N is r = (B/A)^(1/N)

Upvotes: 2

Related Questions