%I #15 Jul 21 2017 03:25:41
%S 1,2,1,0,0,0,0,0,0,0,1,3,3,1,0,0,0,0,0,0,1,3,3,1,0,0,0,0,0,0,1,2,-1,
%T -5,-4,-1,0,0,0,0,1,1,-6,-15,-14,-6,-1,0,0,0,1,0,-10,-21,-18,-7,-1,0,
%U 0,0,1,-1,-13,-20,-3,18,18,7,1,0,1,-2,-15,-13,29
%N Coefficients of 1/([1+r] - [1+2r]x + [1+3r]x^2 - ...), where [ ] = floor and r = 19/21.
%H Ray Chandler, <a href="/A289922/b289922.txt">Table of n, a(n) for n = 0..10000</a>
%H <a href="/index/Rec#order_21">Index entries for linear recurrences with constant coefficients</a>, signature (1, -1, 1, -1, 1, -1, 1, -1, 1, 0, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, -1).
%F G.f.: 1/([1+r] - [1+2r]x + [1+3r]x^2 - ...), where [ ] = floor and r = 19/21.
%F G.f.: (1 + x)^2*(1 - x + x^2)*(1 - x + x^2 - x^3 + x^4 - x^5 + x^6)*(1 + x - x^3 - x^4 + x^6 - x^8 - x^9 + x^11 + x^12) / (1 - x + x^2 - x^3 + x^4 - x^5 + x^6 - x^7 + x^8 - x^9 - x^11 + x^12 - x^13 + x^14 - x^15 + x^16 - x^17 + x^18 - x^19 + x^20 + x^21). - _Colin Barker_, Jul 20 2017
%t z = 2000; r = 19/21;
%t CoefficientList[Series[1/Sum[Floor[1 + (k + 1)*r] (-x)^k, {k, 0, z}], {x, 0, z}],
%t x];
%o (PARI) Vec((1 + x)^2*(1 - x + x^2)*(1 - x + x^2 - x^3 + x^4 - x^5 + x^6)*(1 + x - x^3 - x^4 + x^6 - x^8 - x^9 + x^11 + x^12) / (1 - x + x^2 - x^3 + x^4 - x^5 + x^6 - x^7 + x^8 - x^9 - x^11 + x^12 - x^13 + x^14 - x^15 + x^16 - x^17 + x^18 - x^19 + x^20 + x^21) + O(x^100)) \\ _Colin Barker_, Jul 21 2017
%Y Cf. A078140 (includes guide to related sequences), A289921, A289923.
%K easy,sign
%O 0,2
%A _Clark Kimberling_, Jul 18 2017
|