The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A099559 a(n) = Sum_{k=0..floor(n/5)} C(n-4k,k+1). 2
 0, 1, 2, 3, 4, 5, 7, 10, 14, 19, 25, 33, 44, 59, 79, 105, 139, 184, 244, 324, 430, 570, 755, 1000, 1325, 1756, 2327, 3083, 4084, 5410, 7167, 9495, 12579, 16664, 22075, 29243, 38739, 51319, 67984, 90060, 119304, 158044, 209364, 277349, 367410, 486715 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,3 LINKS Harvey P. Dale, Table of n, a(n) for n = 0..1000 Minerva Catral, P. L. Ford, P. E. Harris, S. J. Miller, et al. Legal Decompositions Arising from Non-positive Linear Recurrences, arXiv preprint arXiv:1606.09312 [math.CO], 2016. See Table 2. Index entries for linear recurrences with constant coefficients, signature (2,-1,0,0,1,-1). FORMULA Partial sums of A003520 (with leading zero). G.f.: x / ( (x-1)*(x^2-x+1)*(x^3+x^2-1) ). a(n) = 2a(n-1)-a(n-2)+a(n-5)-a(n-6). 7*a(n) = A117373(n+2) -7 +10*b(n) +15*b(n-1) +9*b(n-2), where b(n) = A182097(n). - R. J. Mathar, Aug 07 2017 a(n) = A003520(n+4) -1. - R. J. Mathar, Aug 07 2017 MATHEMATICA LinearRecurrence[{2, -1, 0, 0, 1, -1}, {0, 1, 2, 3, 4, 5}, 50] (* Harvey P. Dale, Feb 20 2017 *) PROG (PARI)  a(n) = sum(k=0, n\5, binomial(n-4*k, k+1)); \\ Michel Marcus, Jul 11 2018 CROSSREFS Cf. A098578. Sequence in context: A017836 A321481 A238874 * A247084 A017898 A003269 Adjacent sequences:  A099556 A099557 A099558 * A099560 A099561 A099562 KEYWORD easy,nonn AUTHOR Paul Barry, Oct 22 2004 EXTENSIONS Values from a(5) on corrected by R. J. Mathar, Jul 29 2008 STATUS approved

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

Last modified April 11 00:03 EDT 2021. Contains 342877 sequences. (Running on oeis4.)