Asked by Ashley Everette
Calculate R(4) where the recursively defined sequence
R is given by: R(1) = 2, R(2) = 3, and,
R(n) = R(n − 1) + 2R(n − 2) + n, n > 2
R is given by: R(1) = 2, R(2) = 3, and,
R(n) = R(n − 1) + 2R(n − 2) + n, n > 2