I want to create a function that makes a so called super Fibonacci sequence which is a list of numbers, that from the third term onwards, every term is the sum of all the previous terms. It takes 2 arguments: t2 and n. t2 is the second term in the list and n is the number of terms in the list. For example.
superFibSeq(10,10) >>> [1,10,11,22,44,88,176,352,704,1408]
superFibSeq(4,10) >>> [1, 4, 5, 10, 20, 40, 80, 160, 320, 640]
I've been stuck on this for a bit with no idea where to start. How should I think about this if I want to use only recursion.