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.

A098574 a(n) = Sum_{k=0..floor(n/7)} C(n-5*k,2*k).

Original entry on oeis.org

1, 1, 1, 1, 1, 1, 1, 2, 4, 7, 11, 16, 22, 29, 38, 51, 71, 102, 149, 218, 316, 452, 639, 897, 1257, 1766, 2493, 3536, 5031, 7165, 10196, 14484, 20538, 29085, 41168, 58282, 82561, 117036, 165995, 235492, 334074, 473824, 671856, 952449, 1350078, 1913702
Offset: 0

Views

Author

Paul Barry, Sep 16 2004

Keywords

Crossrefs

Programs

  • Magma
    Q:=Rationals(); R:=PowerSeriesRing(Q, 40); Coefficients(R!((1-x)/(1-2*x+x^2-x^7))) // G. C. Greubel, Feb 03 2018
  • Mathematica
    CoefficientList[Series[(1-x)/(1-2*x+x^2-x^7), {x,0,50}], x] (* G. C. Greubel, Feb 03 2018 *)
  • PARI
    a(n) = sum(k=0, n\7, binomial(n-5*k, 2*k)); \\ Michel Marcus, Sep 06 2017
    
  • PARI
    x='x+O('x^30); Vec((1-x)/(1-2*x+x^2-x^7)) \\ G. C. Greubel, Feb 03 2018
    

Formula

G.f.: (1-x)/(1-2*x+x^2-x^7).