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.

A094195 Expansion of g.f.: (1-4*x)/((1-5*x)*(1-x)^2).

Original entry on oeis.org

1, 3, 10, 42, 199, 981, 4888, 24420, 122077, 610359, 3051766, 15258798, 76293955, 381469737, 1907348644, 9536743176, 47683715833, 238418579115, 1192092895522, 5960464477554, 29802322387711, 149011611938493, 745058059692400, 3725290298461932, 18626451492309589
Offset: 0

Views

Author

N. J. A. Sloane, Jun 01 2004

Keywords

Comments

An approximation to A091843.

Crossrefs

Programs

  • Magma
    [(5^(n+1) +12*n +11)/16: n in [0..40]]; // G. C. Greubel, Aug 18 2023
    
  • Mathematica
    CoefficientList[Series[(1-4x)/((1-5x)(1-x)^2),{x,0,30}],x] (* or *) LinearRecurrence[{7,-11,5},{1,3,10},30] (* Harvey P. Dale, Dec 31 2011 *)
  • SageMath
    [(5^(n+1) +12*n +11)/16 for n in range(41)] # G. C. Greubel, Aug 18 2023

Formula

a(n) = (5^(n+1) + 12*n + 11)/16.
a(n) = 7*a(n-1) - 11*a(n-2) + 5*a(n-3), with a(0)=1, a(1)=3, a(2)=10. - Harvey P. Dale, Dec 31 2011
E.g.f.: (1/16)*(5*exp(5*x) + (11 + 12*x)*exp(x)). - G. C. Greubel, Aug 18 2023