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.

A201865 Expansion of 1/((1-3*x)*(1+7*x)).

Original entry on oeis.org

1, -4, 37, -232, 1705, -11692, 82573, -575824, 4037329, -28241620, 197750389, -1384075576, 9689060473, -67821828988, 474757585885, -3323288752288, 23263064312737, -162841321048996, 1139889634763461, -7979226281082760, 55854587454363721, -390982101720192844
Offset: 0

Views

Author

Bruno Berselli, Dec 07 2011

Keywords

Crossrefs

Programs

  • Magma
    m:=22; R:=PowerSeriesRing(Integers(), m); Coefficients(R!(1/((1-3*x)*(1+7*x))));
    
  • Mathematica
    CoefficientList[Series[1/((1-3*x)*(1+7*x)), {x, 0, 22}], x]
  • Maxima
    makelist(coeff(taylor(1/((1-3*x)*(1+7*x)), x, 0, n), x, n), n, 0, 21);
  • PARI
    Vec(1/((1-3*x)*(1+7*x))+O(x^22))
    

Formula

G.f.: 1/((1-3*x)*(1+7*x)).
a(n) = (3^(n+1)+7*(-7)^n)/10.
a(n) = -4*a(n-1)+21*a(n-2) with n>0, a(-1)=0, a(0)=1.
a(n)-a(n-1) = A083300(n)*(-1)^n.
a(n)+5*a(n-1) = A083296(n) with a(-1)=0.