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!)
A116975 Number of compositions of n into parts of sizes == 1 mod 5 or 4 mod 5. 1
1, 1, 1, 2, 3, 5, 7, 10, 15, 23, 35, 52, 77, 115, 173, 260, 389, 581, 869, 1302, 1951, 2921, 4371, 6542, 9795, 14667, 21959, 32872, 49209, 73671, 110297, 165128, 247209, 370089, 554057, 829482, 1241819, 1859117, 2783263, 4166802 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
LINKS
FORMULA
G.f.: x*(1+x^3)/(1-x-x^4-x^5). - Vladeta Jovovic, Apr 02 2006
EXAMPLE
a(8)=10 : 611, 161, 116, 44, 41111, 14111, 11411, 11141, 11114, 11111111
MATHEMATICA
LinearRecurrence[{1, 0, 0, 1, 1}, {1, 1, 1, 2, 3}, 40] (* Harvey P. Dale, Dec 06 2021 *)
CROSSREFS
Sequence in context: A362757 A018133 A261081 * A286227 A134792 A300795
KEYWORD
nonn
AUTHOR
Jon Perry, Apr 01 2006
EXTENSIONS
More terms from Vladeta Jovovic, Apr 02 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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 30 17:31 EDT 2024. Contains 372971 sequences. (Running on oeis4.)