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!)
A029012 Expansion of 1/((1-x)*(1-x^2)*(1-x^5)*(1-x^7)). 0

%I #18 Sep 08 2022 08:44:50

%S 1,1,2,2,3,4,5,7,8,10,12,14,17,19,23,26,30,34,38,43,48,54,60,66,73,80,

%T 88,96,105,114,124,134,145,156,168,181,194,208,222,237,253,269,287,

%U 304,323,342,362,383,404,427,450

%N Expansion of 1/((1-x)*(1-x^2)*(1-x^5)*(1-x^7)).

%C Number of partitions of n into parts 1, 2, 5, and 7. - _Joerg Arndt_, Oct 15 2014

%H <a href="/index/Rec#order_15">Index entries for linear recurrences with constant coefficients</a>, signature (1,1,-1,0,1,-1,0,0,-1,1,0,-1,1,1,-1).

%F G.f.: 1/((1-x)*(1-x^2)*(1-x^5)*(1-x^7)).

%F a(n) = floor((2*n^3+45*n^2+298*n+956)/840+(-1)^n/16). - _Tani Akinari_, Oct 15 2014

%t CoefficientList[Series[1/((1 - x) (1 - x^2) (1 - x^5) (1 - x^7)), {x, 0, 50}], x] (* _Vincenzo Librandi_, Oct 15 2014 *)

%o (Magma) [Floor((2*n^3+45*n^2+298*n+956)/840+(-1)^n/16): n in [0..60]]; // _Vincenzo Librandi_, Oct 15 2014

%o (PARI) Vec(1/((1-x)*(1-x^2)*(1-x^5)*(1-x^7)) + O(x^80)) \\ _Michel Marcus_, Oct 15 2014

%K nonn,easy

%O 0,3

%A _N. J. A. Sloane_

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 25 01:35 EDT 2024. Contains 371964 sequences. (Running on oeis4.)