The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A369849 Number of compositions of 5*n-1 into parts 4 and 5. 3
1, 2, 3, 4, 6, 13, 35, 92, 220, 484, 1013, 2092, 4382, 9404, 20552, 45185, 99009, 215481, 466361, 1006897, 2174834, 4705895, 10200142, 22128873, 48009456, 104111224, 225655617, 488945055, 1059372394, 2295532150, 4974876116, 10782658417, 23371307904, 50655960304 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) = A017827(5*n-1).
a(n) = Sum_{k=0..floor(n/4)} binomial(n+k,n-1-4*k).
a(n) = 5*a(n-1) - 10*a(n-2) + 10*a(n-3) - 4*a(n-4) + a(n-5).
G.f.: x*(1-x)^3/((1-x)^5 - x^4).
MATHEMATICA
LinearRecurrence[{5, -10, 10, -4, 1}, {1, 2, 3, 4, 6}, 50] (* Paolo Xausa, Mar 15 2024 *)
PROG
(PARI) a(n) = sum(k=0, n\4, binomial(n+k, n-1-4*k));
CROSSREFS
Cf. A017827.
Sequence in context: A038767 A363198 A188715 * A174046 A095991 A293714
KEYWORD
nonn,easy
AUTHOR
Seiichi Manyama, Feb 03 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 June 6 00:30 EDT 2024. Contains 373110 sequences. (Running on oeis4.)