OFFSET
0,1
REFERENCES
John Baylis and Rod Haggarty, Alice in Numberland, A Student's Guide to the Enjoyment of Higher Mathematics, Macmillan Education 1988.
Geoff 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.
From Elmo R. Oliveira, May 06 2026: (Start)
a(n) = 3*a(n-1) - 2*a(n-2) - a(n-3) + a(n-4).
G.f.: (7 - 10*x - 2*x^2 + 3*x^3)/((1 - x)^2*(1 - x - x^2)). (End)
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, 40, a=concat(a, a[#a]+a[#a-1]-2*n+3)); a
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Kurmang. Aziz. Rashid, Dec 01 2003
EXTENSIONS
More terms from Elmo R. Oliveira, May 06 2026
STATUS
approved
