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!)
A017848 Expansion of 1/(1-x^6-x^7-x^8). 1
1, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 1, 2, 3, 2, 1, 0, 1, 3, 6, 7, 6, 3, 2, 4, 10, 16, 19, 16, 11, 9, 16, 30, 45, 51, 46, 36, 36, 55, 91, 126, 142, 133, 118, 127, 182, 272, 359, 401, 393, 378, 427, 581, 813, 1032, 1153, 1172 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,14
COMMENTS
Number of compositions of n into parts 6, 7, and 8. [Joerg Arndt, Jun 27 2013]
LINKS
FORMULA
a(n) = a(n-6) +a(n-7) +a(n-8) for n>7. - Vincenzo Librandi, Jun 27 2013
MATHEMATICA
CoefficientList[Series[1 / (1 - Total[x^Range[6, 8]]), {x, 0, 60}], x] (* Vincenzo Librandi, Jun 27 2013 *)
PROG
(Magma) m:=70; R<x>:=PowerSeriesRing(Integers(), m); Coefficients(R!(1/(1-x^6-x^7-x^8))); /* or */ I:=[1, 0, 0, 0, 0, 0, 1, 1]; [n le 8 select I[n] else Self(n-6)+Self(n-7)+Self(n-8): n in [1..70]]; // Vincenzo Librandi, Jun 27 2013
CROSSREFS
Sequence in context: A179766 A342872 A081134 * A108619 A091327 A327758
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 18 22:34 EDT 2024. Contains 370951 sequences. (Running on oeis4.)