OFFSET
4,1
REFERENCES
F. N. David, M. G. Kendall and D. E. Barton, Symmetric Function and Allied Tables, Cambridge, 1966, p. 260.
N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 4..1000
Index entries for linear recurrences with constant coefficients, signature (14,-75,196,-263,174,-45).
FORMULA
a(n) = (5^n-(2*n-1)*3^n+2*n^2-2*n-2)/16. - Vaclav Kotesovec, Nov 19 2012
G.f.: -x^4*(9*x-5)/((x-1)^3*(3*x-1)^2*(5*x-1)). - Vaclav Kotesovec, Nov 19 2012
MATHEMATICA
Table[(5^n-(2*n-1)*3^n+2*n^2-2*n-2)/16, {n, 4, 20}] (* Vaclav Kotesovec, Nov 19 2012 *)
PROG
(Magma) [(5^n-(2*n-1)*3^n+2*n^2-2*n-2)/16: n in [4..30]]; // Vincenzo Librandi, May 03 2013
CROSSREFS
Contribution from Johannes W. Meijer, May 24 2009: (Start)
The a(n) sequence equals the third left hand column of A008971.
The a(2*n) sequence equals the third left hand column of A160486.
(End)
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
More terms and better definition from Jon E. Schoenfield, Mar 25 2010
STATUS
approved