OFFSET
0,1
LINKS
Index entries for linear recurrences with constant coefficients, signature (3,-2,-1,1).
FORMULA
a(n) = Fibonacci(n+1)+2n+4. - Ralf Stephan, Feb 24 2004
MATHEMATICA
RecurrenceTable[{a[0]==5, a[1]==7, a[n]==a[n-1]+a[n-2]-(2n-2)}, a, {n, 40}] (* or *) LinearRecurrence[{3, -2, -1, 1}, {5, 7, 10, 13}, 40] (* Harvey P. Dale, Apr 23 2018 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Kurmang. Aziz. Rashid, Dec 02 2003
STATUS
approved