%I #19 Jun 20 2020 12:30:02
%S 1,0,1,1,1,2,2,3,3,4,5,5,7,7,9,10,11,13,14,16,18,20,22,24,27,29,32,35,
%T 38,41,45,48,52,56,60,65,69,74,79,84,90,95,102,107,114,121,127,135,
%U 142,150,158,166,175,183,193,202,212,222,232,243,254,265,277
%N Expansion of 1/((1-x^2)(1-x^3)(1-x^5)(1-x^7)).
%H M. Janjic, <a href="https://cs.uwaterloo.ca/journals/JIS/VOL18/Janjic/janjic63.html">On Linear Recurrence Equations Arising from Compositions of Positive Integers</a>, Journal of Integer Sequences, Vol. 18 (2015), Article 15.4.7.
%H <a href="/index/Rec#order_17">Index entries for linear recurrences with constant coefficients</a>, signature (0,1,1,0,0,0,0,-1,-1,0,0,0,0,1,1,0,-1).
%t CoefficientList[Series[1/((1-x^2)(1-x^3)(1-x^5)(1-x^7)),{x,0,60}],x] (* _Harvey P. Dale_, Oct 28 2011 *)
%o (Maxima) a(n):=floor((2*n^3+51*n^2+390*n+2020)/2520+((-1)^mod(n,5)-floor(mod(n,5)/4))/5); /* _Tani Akinari_, Nov 13 2012 */
%o (PARI) Vec(1/((1-x^2)*(1-x^3)*(1-x^5)*(1-x^7)) + O(x^90)) \\ _Jinyuan Wang_, Mar 18 2020
%K nonn,easy
%O 0,6
%A _N. J. A. Sloane_
|