cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-1 of 1 results.

A375290 Expansion of 1/((1 - x + x^4)^2 + 4*x^5).

Original entry on oeis.org

1, 2, 3, 4, 3, -4, -21, -52, -98, -144, -143, 0, 440, 1368, 2891, 4752, 5831, 3438, -7330, -33384, -81044, -148610, -211283, -197280, 39748, 732646, 2152660, 4423184, 7089816, 8360270, 4071395, -13171888, -53480919, -125422768, -224380607, -309560644, -268524883
Offset: 0

Views

Author

Seiichi Manyama, Aug 10 2024

Keywords

Crossrefs

Programs

  • PARI
    my(N=40, x='x+O('x^N)); Vec(1/((1-x+x^4)^2+4*x^5))
    
  • PARI
    a(n) = sum(k=0, n\4, (-1)^k*binomial(2*n-6*k+2, 2*k+1))/2;

Formula

a(n) = 2*a(n-1) - a(n-2) - 2*a(n-4) - 2*a(n-5) - a(n-8).
a(n) = (1/2) * Sum_{k=0..floor(n/4)} (-1)^k * binomial(2*n-6*k+2,2*k+1).
Showing 1-1 of 1 results.