OFFSET
1,1
REFERENCES
S. M. Losanitsch, Die Isomerie-Arten bei den Homologen der Paraffin-Reihe, Chem. Ber. 30 (1897), 1917-1926.
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..1000
S. M. Losanitsch, Die Isomerie-Arten bei den Homologen der Paraffin-Reihe, Chem. Ber. 30 (1897), 1917-1926. (Annotated scanned copy)
Index entries for linear recurrences with constant coefficients, signature (3,-1,-5,5,1,-3,1).
FORMULA
a(n) = 2*(A005994(n) + binomial(n, 4)).
G.f.: 4*x*(1-x^3) / ((1-x)^4*(1-x^2)^2). - Alois P. Heinz, Aug 13 2008
a(n) = Sum_{i=1..n} i*floor(i^2/2). - Enrique Pérez Herrero, Mar 10 2012
MAPLE
a:= n-> (Matrix([[0$4, 4, 16, 48, 108]]). Matrix(8, (i, j)-> if (i=j-1) then 1 elif j=1 then [4, -4, -4, 10, -4, -4, 4, -1][i] else 0 fi)^n)[1, 1]: seq(a(n), n=1..40); # Alois P. Heinz, Aug 13 2008
MATHEMATICA
a[n_] := 1/16*(2*n^4+12*n^3+24*n^2+2*(9-(-1)^n)*n-3*(-1)^n+3); Array[a, 40] (* Jean-François Alcover, Mar 17 2014 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved