How to write a recursive rul for sequences. ex.) 1,3,4,7,11

2 answers

n= (n-1)+(n-2)
looks like a variation of the Fibonacci numbers.

in this one
Term(n+2) = term(n) + term(n+1),
where term(1) = 1
term(2) = 2
n > 2