[go: up one dir, main page]

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!)
A369815 Expansion of 1/(1 - x^4 - x^7). 5
1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 2, 1, 0, 1, 3, 1, 0, 3, 4, 1, 1, 6, 5, 1, 4, 10, 6, 2, 10, 15, 7, 6, 20, 21, 9, 16, 35, 28, 15, 36, 56, 37, 31, 71, 84, 52, 67, 127, 121, 83, 138, 211, 173, 150, 265, 332, 256, 288, 476, 505, 406, 553, 808, 761, 694, 1029, 1313, 1167, 1247, 1837, 2074, 1861, 2276, 3150, 3241 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,12
COMMENTS
Number of compositions of n into parts 4 and 7.
LINKS
FORMULA
a(n) = a(n-4) + a(n-7).
PROG
(PARI) my(N=80, x='x+O('x^N)); Vec(1/(1-x^4-x^7))
(PARI) a(n) = sum(k=0, n\7, ((n-3*k)%4==0)*binomial((n-3*k)/4, k));
CROSSREFS
Sequence in context: A077227 A089263 A348951 * A373423 A156135 A047265
KEYWORD
nonn,easy
AUTHOR
Seiichi Manyama, Feb 02 2024
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 August 29 06:09 EDT 2024. Contains 375510 sequences. (Running on oeis4.)