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!)
A369845 Number of compositions of 5*n into parts 3 and 5. 7
1, 1, 1, 2, 7, 22, 58, 138, 319, 750, 1810, 4427, 10828, 26349, 63862, 154603, 374521, 908140, 2203162, 5344988, 12964858, 31443013, 76253683, 184929945, 448506736, 1087774536, 2638209313, 6398479259, 15518219326, 37636240539, 91279009255, 221378866489 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,4
LINKS
FORMULA
a(n) = A052920(5*n).
a(n) = Sum_{k=0..floor(n/3)} binomial(n+2*k,n-3*k).
a(n) = 5*a(n-1) - 10*a(n-2) + 11*a(n-3) - 5*a(n-4) + a(n-5).
G.f.: (1-x)^4/((1-x)^5 - x^3).
a(n) = A369847(n+1)-A369847(n). - R. J. Mathar, Feb 14 2024
MATHEMATICA
LinearRecurrence[{5, -10, 11, -5, 1}, {1, 1, 1, 2, 7}, 50] (* Paolo Xausa, Mar 15 2024 *)
PROG
(PARI) a(n) = sum(k=0, n\3, binomial(n+2*k, n-3*k));
CROSSREFS
Cf. A052920.
Sequence in context: A351969 A369444 A063019 * A365756 A183156 A018039
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 April 30 18:46 EDT 2024. Contains 372141 sequences. (Running on oeis4.)