login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A322040 Expansion of (1 + x)^2 / ((1 - x)^2*(1 + 2*x + 2*x^2)^2). 2
1, 0, 0, 4, -4, 4, 8, -20, 32, -12, -40, 124, -160, 68, 232, -628, 816, -300, -1160, 3100, -3904, 1380, 5640, -14676, 18256, -6156, -26472, 67900, -83488, 27268, 121640, -308276, 375920, -119532, -549448, 1379932, -1671424, 520100, 2449480 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,4

COMMENTS

Connected with tiling of torus by squares (see A322038).

LINKS

Colin Barker, Table of n, a(n) for n = 0..1000

Index entries for linear recurrences with constant coefficients, signature (-2,-1,4,4,0,-4).

FORMULA

a(n) = -2*a(n-1) - a(n-2) + 4*a(n-3) + 4*a(n-4) - 4*a(n-6) for n>5. - Colin Barker, Dec 04 2018

MATHEMATICA

LinearRecurrence[{-2, -1, 4, 4, 0, -4}, {1, 0, 0, 4, -4, 4}, 100] (* Amiram Eldar, Dec 04 2018 *)

CoefficientList[Series[(1+x)^2/((1-x)^2(1+2x+2x^2)^2), {x, 0, 40}], x] (* Harvey P. Dale, Jan 20 2021 *)

PROG

(PARI) Vec((1 + x)^2 / ((1 - x)^2*(1 + 2*x + 2*x^2)^2) + O(x^40)) \\ Colin Barker, Dec 04 2018

CROSSREFS

Cf. A322038, A322039.

Sequence in context: A167184 A276113 A232406 * A085071 A341324 A011412

Adjacent sequences:  A322037 A322038 A322039 * A322041 A322042 A322043

KEYWORD

sign,easy

AUTHOR

N. J. A. Sloane, Dec 03 2018

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 17 07:35 EDT 2021. Contains 347478 sequences. (Running on oeis4.)