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!)
 A120415 Expansion of 1/(1-x-x^3-x^6). 2
 1, 1, 1, 2, 3, 4, 7, 11, 16, 25, 39, 59, 91, 141, 216, 332, 512, 787, 1210, 1863, 2866, 4408, 6783, 10436, 16054, 24700, 38002, 58464, 89947, 138385, 212903, 327550, 503937, 775304, 1192801, 1835123, 2823330, 4343681, 6682741, 10281375 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,4 COMMENTS Number of compositions of n into parts 1, 3, and 6. [Joerg Arndt, Sep 03 2013] LINKS Vincenzo Librandi, Table of n, a(n) for n = 0..1000 K. Edwards, A Pascal-like triangle related to the tribonacci numbers, Fib. Q., 46/47 (2008/2009), 18-25. Index entries for linear recurrences with constant coefficients, signature (1,0,1,0,0,1). FORMULA a(n) = a(n-1) + a(n-3) + a(n-6). MATHEMATICA CoefficientList[Series[1 / (1 - x - x^3 - x^6), {x, 0, 40}], x] (* Vincenzo Librandi, Sep 03 2013 *) PROG (MAGMA) I:=[1, 1, 1, 2, 3, 4]; [n le 6 select I[n] else Self(n-1)+Self(n-3)+Self(n-6): n in [1..40]]; // Vincenzo Librandi, Sep 03 2013 CROSSREFS Sequence in context: A141001 A333260 A196382 * A023361 A210518 A113435 Adjacent sequences:  A120412 A120413 A120414 * A120416 A120417 A120418 KEYWORD easy,nonn AUTHOR Jon E. Schoenfield, Aug 27 2006 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 June 14 14:49 EDT 2021. Contains 345025 sequences. (Running on oeis4.)