Geometric progression

Returns a geometric progression: a sequence of numbers where each term after the first is found by multiplying the previous one by a fixed non-zero number called the common ratio: r comma r squared comma r cubed comma....

geometric_progression(Expression, Integer)

Given an expression r and a positive integer n, returns a vector v equals left square bracket r to the power of 0 comma r comma r squared comma... comma r to the power of n minus 1 end exponent right square bracket.

geometric_progression(Expression, List | Vector | Range)

Given an expression r and a list, vector or range w with elements w subscript 1 comma... comma w subscript n, returns a vector v equals left square bracket r to the power of w subscript 1 end exponent comma r to the power of w subscript 2 end exponent comma r to the power of w subscript 3 end exponent comma... comma r to the power of w subscript n end exponent right square bracket.