login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A008857 a(n) = floor(n/9)*ceiling(n/9). 1
0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 2, 2, 2, 2, 2, 2, 2, 4, 6, 6, 6, 6, 6, 6, 6, 6, 9, 12, 12, 12, 12, 12, 12, 12, 12, 16, 20, 20, 20, 20, 20, 20, 20, 20, 25, 30, 30, 30, 30, 30, 30, 30, 30, 36, 42, 42, 42, 42, 42, 42, 42, 42, 49, 56, 56, 56, 56, 56, 56, 56, 56 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,11
LINKS
Index entries for linear recurrences with constant coefficients, signature (1,0,0,0,0,0,0,0,2,-2,0,0,0,0,0,0,0,-1,1).
FORMULA
From G. C. Greubel, Sep 13 2019: (Start)
a(n) = a(n-1) + 2*a(n-9) - 2*a(n-10) - a(n-18) + a(n-19).
G.f.: x^9*(1+x)/((1-x)*(1-x^9)^2). (End)
MAPLE
seq(coeff(series(x^9*(1+x)/((1-x)*(1-x^9)^2), x, n+1), x, n), n = 0..60); # G. C. Greubel, Sep 13 2019
MATHEMATICA
CoefficientList[Series[x^9*(1+x)/((1-x)*(1-x^9)^2), {x, 0, 60}], x] (* G. C. Greubel, Sep 13 2019 *)
PROG
(PARI) my(x='x+O('x^60)); concat(vector(9), Vec(x^9*(1+x)/((1-x)*(1-x^9)^2))) \\ G. C. Greubel, Sep 13 2019
(Magma) R<x>:=PowerSeriesRing(Integers(), 60); [0, 0, 0, 0, 0, 0, 0, 0, 0] cat Coefficients(R!( x^9*(1+x)/((1-x)*(1-x^9)^2) )); // G. C. Greubel, Sep 13 2019
(Sage) [floor(n/9)*ceil(n/9) for n in (0..60)] # G. C. Greubel, Sep 13 2019
(GAP) a:=[0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 2, 2, 2, 2, 2, 2, 2, 4];; for n in [20..60] do a[n]:=a[n-1]+2*a[n-9]-2*a[n-10]-a[n-18]+a[n-19]; od; a; # G. C. Greubel, Sep 13 2019
CROSSREFS
Sequence in context: A064128 A248774 A104274 * A244463 A307590 A307987
KEYWORD
nonn
AUTHOR
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 02:53 EDT 2024. Contains 371906 sequences. (Running on oeis4.)