Calculate a Subsequence

Calculator for finite subsequences. A subsequence is a part of a sequence, where some elements, derived from another sequence, are kept, others are deleted. The partition formula must be a strictly increasing sequence of positive integers. As running variable of the sequence, which is increased according to the partition formula in each step, j is used. The variable of the partition formula is k. Allowed input for the subsequence formula is similat to that of a sequence. For the partition formula, + - * and power are allowed.

Subsequence formula: aj =

Partition formula: jk =

Subsequence from jm to jn: m= n=

Round to decimal places.

The finite sequence is:

Example: j=2*k-1 produces every odd number as input for the subsequence, pow(j#2) squares them.