OFFSET
1,1
LINKS
Lars Blomberg, Table of n, a(n) for n = 1..100
Sergei Abramovich, Combinatorics of the Triangle Inequality: From Straws to Experimental Mathematics for Teachers, Spreadsheets in Education (eJSiE), Vol. 9, Issue 1, Article 1, 2016.
Index entries for linear recurrences with constant coefficients, signature (18,-104,144,640,-2304,2048).
FORMULA
G.f.: 4*x*(1 - 8*x + 28*x^2 - 24*x^3 - 32*x^4) / ((1 - 2*x) * (1 - 4*x)^2 * (1 - 8*x) * (1 - 8*x^2)). - Colin Barker, Nov 16 2016
MATHEMATICA
CoefficientList[ Series[(4 (-1 + 8x - 28x^2 + 24x^3 + 32x^4))/((-1 + 4x)^2 (-1 + 10x - 8x^2 - 80x^3 + 128x^4)), {x, 0, 20}], x] (* or *)LinearRecurrence[{18, -104, 144, 640, -2304, 2048}, {4, 40, 416, 3808, 33472, 282752}, 21] (* Robert G. Wilson v, Nov 16 2016 *)
PROG
(PARI) Vec(4*x*(1-8*x+28*x^2-24*x^3-32*x^4)/((1-2*x)*(1-4*x)^2*(1-8*x)*(1-8*x^2)) + O(x^30)) \\ Colin Barker, Nov 16 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Nov 14 2016
EXTENSIONS
More terms from Lars Blomberg, Nov 16 2016
STATUS
approved