[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!)
A369813 Expansion of 1/(1 - x^2 - x^7). 5
1, 0, 1, 0, 1, 0, 1, 1, 1, 2, 1, 3, 1, 4, 2, 5, 4, 6, 7, 7, 11, 9, 16, 13, 22, 20, 29, 31, 38, 47, 51, 69, 71, 98, 102, 136, 149, 187, 218, 258, 316, 360, 452, 509, 639, 727, 897, 1043, 1257, 1495, 1766, 2134, 2493, 3031, 3536, 4288, 5031, 6054, 7165, 8547, 10196, 12083, 14484, 17114, 20538, 24279, 29085, 34475 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,10
COMMENTS
Number of compositions of n into parts 2 and 7.
LINKS
FORMULA
a(n) = a(n-2) + a(n-7).
a(n) = A007380(n-7) for n >= 8.
PROG
(PARI) my(N=70, x='x+O('x^N)); Vec(1/(1-x^2-x^7))
(PARI) a(n) = sum(k=0, n\7, ((n-5*k)%2==0)*binomial((n-5*k)/2, k));
CROSSREFS
Cf. A007380.
Sequence in context: A059499 A113322 A007380 * A319162 A029171 A354185
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 09:09 EDT 2024. Contains 375511 sequences. (Running on oeis4.)