OFFSET
0,1
REFERENCES
J. Baylis and R. Haggarty, Alice in Numberland, A Student's Guide to the Enjoyment of Higher Mathematics, Macmillan Education 1988.
G. Buckwell, Mastering Mathematics, Palgrave Master Series, 2nd Ed. 1997.
R. P. C. Forman, Additional Mathematics Pure & Applied, Stanley Thornes, 1989.
LINKS
Index entries for linear recurrences with constant coefficients, signature (3,-2,-1,1).
FORMULA
a(n) = (2*alpha^(n+3) - 2*beta^(n+3) + 2*sqrt(5)*n + 3*sqrt(5)) / sqrt(5) where alpha = (1 + sqrt(5)) / 2 and beta = (1 - sqrt(5)) / 2.
MATHEMATICA
LinearRecurrence[{3, -2, -1, 1}, {7, 11, 17, 25}, 40] (* Harvey P. Dale, Jun 08 2018 *)
PROG
(PARI) a=[7, 11]; for(n=2, 10, a=concat(a, a[#a]+a[#a-1]-2*n+3)); a
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Kurmang. Aziz. Rashid, Dec 01 2003
STATUS
approved