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!)
A140952 Expansion of 1/((1-x^2)*(1-x^3)*(1-x^5)*(1-x^7)*(1-x^11)). 3
1, 0, 1, 1, 1, 2, 2, 3, 3, 4, 5, 6, 7, 8, 10, 11, 13, 15, 17, 19, 22, 25, 28, 31, 35, 39, 43, 48, 53, 58, 64, 70, 77, 84, 91, 100, 108, 117, 127, 137, 148, 159, 172, 184, 198, 212, 227, 243, 259, 277, 295, 314, 334, 355, 377, 400, 424, 449, 475, 502, 531, 560 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,6
COMMENTS
Number of partitions of n into the first 5 primes.
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,1,1,0,0,0,0,-1,-1,0,1,0,-1,0,1,0,-1,0,1,1,0,0,0,0,-1,-1,0,1).
MAPLE
M := Matrix(28, (i, j)-> if (i=j-1) or (j=1 and member(i, [2, 3, 11, 15, 19, 20, 28])) then 1 elif j=1 and member(i, [8, 9, 13, 17, 25, 26]) then -1 else 0 fi):
a:= n-> (M^(n))[1, 1]:
seq(a(n), n=0..50);
MATHEMATICA
CoefficientList[Series[1/Times@@(1-x^Prime[Range[5]]), {x, 0, 70}], x] (* or *) LinearRecurrence[{0, 1, 1, 0, 0, 0, 0, -1, -1, 0, 1, 0, -1, 0, 1, 0, -1, 0, 1, 1, 0, 0, 0, 0, -1, -1, 0, 1}, {1, 0, 1, 1, 1, 2, 2, 3, 3, 4, 5, 6, 7, 8, 10, 11, 13, 15, 17, 19, 22, 25, 28, 31, 35, 39, 43, 48}, 70] (* Harvey P. Dale, Jun 18 2021 *)
CROSSREFS
Sequence in context: A358637 A106244 A029023 * A096911 A143752 A145933
KEYWORD
nonn,easy
AUTHOR
Alois P. Heinz, Jul 25 2008
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 24 19:31 EDT 2024. Contains 371962 sequences. (Running on oeis4.)