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

 

Logo

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 56th year, we are closing in on 350,000 sequences, and we’ve crossed 9,700 citations (which often say “discovered thanks to the OEIS”).

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A120446 Expansion of 1/(1-x-x^4-x^6). 1
1, 1, 1, 1, 2, 3, 5, 7, 10, 14, 21, 31, 46, 67, 98, 143, 210, 308, 452, 662, 970, 1421, 2083, 3053, 4475, 6558, 9611, 14085, 20643, 30254, 44340, 64983, 95237, 139576, 204559, 299796, 439373, 643932, 943728, 1383100, 2027032, 2970760, 4353861, 6380893 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,5

COMMENTS

Number of compositions of n into parts 1, 4, and 6. [Joerg Arndt, Sep 03 2013]

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 0..1000

Index entries for linear recurrences with constant coefficients, signature (1,0,0,1,0,1).

FORMULA

a(n) = a(n-1) + a(n-4) + a(n-6).

MATHEMATICA

CoefficientList[Series[1 / (1 - x - x^4 - x^6), {x, 0, 50}], x] (* Vincenzo Librandi, Sep 03 2013 *)

LinearRecurrence[{1, 0, 0, 1, 0, 1}, {1, 1, 1, 1, 2, 3}, 50] (* Harvey P. Dale, Feb 11 2020 *)

PROG

(MAGMA) I:=[1, 1, 1, 1, 2, 3]; [n le 6 select I[n] else Self(n-1)+Self(n-4)+Self(n-6): n in [1..50]]; // Vincenzo Librandi, Sep 03 2013

CROSSREFS

Sequence in context: A241550 A319564 A221943 * A082531 A291298 A092021

Adjacent sequences:  A120443 A120444 A120445 * A120447 A120448 A120449

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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 5 14:49 EST 2021. Contains 349557 sequences. (Running on oeis4.)