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!)
A011874 a(n) = floor(n*(n-1)/21). 0
0, 0, 0, 0, 0, 0, 1, 2, 2, 3, 4, 5, 6, 7, 8, 10, 11, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 33, 36, 38, 41, 44, 47, 50, 53, 56, 60, 63, 66, 70, 74, 78, 82, 86, 90, 94, 98, 102, 107, 112, 116, 121, 126, 131, 136, 141, 146, 152, 157, 162, 168 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,8
LINKS
Index entries for linear recurrences with constant coefficients, signature (2,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,-2,1).
FORMULA
G.f.: x^6*(1-x^2+x^3+x^9-x^10+x^12)/((1-x)^2*(1-x^21)). - R. J. Mathar, Sep 09 2008
a(n) = 2*a(n-1) - a(n-2) + a(n-21) - 2*a(n-22) + a(n-23). - R. J. Mathar, Aug 11 2021
MATHEMATICA
CoefficientList[Series[x^6*(1-x^2+x^3+x^9-x^10+x^12) / ((1-x)^2*(1-x^21)), {x, 0, 64}], x] (* Georg Fischer, Aug 15 2021 *)
LinearRecurrence[{2, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, -2, 1}, {0, 0, 0, 0, 0, 0, 1, 2, 2, 3, 4, 5, 6, 7, 8, 10, 11, 12, 14, 16, 18, 20, 22}, 70] (* Harvey P. Dale, Feb 24 2023 *)
CROSSREFS
Sequence in context: A118868 A017885 A274165 * A000115 A367253 A033552
KEYWORD
nonn,easy
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 March 19 04:26 EDT 2024. Contains 370952 sequences. (Running on oeis4.)