cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A211628 Number of ordered triples (w,x,y) with all terms in {-n,...-1,1,...,n} and 3w+x+y>0.

This page as a plain text file.
%I A211628 #12 Dec 05 2017 08:22:53
%S A211628 0,4,30,105,249,487,846,1346,2012,2871,3943,5253,6828,8688,10858,
%T A211628 13365,16229,19475,23130,27214,31752,36771,42291,48337,54936,62108,
%U A211628 69878,78273,87313,97023,107430,118554,130420,143055,156479,170717,185796,201736,218562
%N A211628 Number of ordered triples (w,x,y) with all terms in {-n,...-1,1,...,n} and 3w+x+y>0.
%C A211628 For a guide to related sequences, see A211422.
%H A211628 Colin Barker, <a href="/A211628/b211628.txt">Table of n, a(n) for n = 0..1000</a>
%H A211628 <a href="/index/Rec#order_06">Index entries for linear recurrences with constant coefficients</a>, signature (3,-3,2,-3,3,-1).
%F A211628 a(n) = 3*a(n-1) - 3*a(n-2) + 2*a(n-3) - 3*a(n-4) + 3*a(n-5) - a(n-6) for n>5.
%F A211628 G.f.: x*(4 + 18*x + 27*x^2 + 16*x^3 + 7*x^4) / ((1 - x)^4*(1 + x + x^2)). - _Colin Barker_, Dec 05 2017
%t A211628 t = Compile[{{u, _Integer}},
%t A211628    Module[{s = 0}, (Do[If[3 w + x + y > 0,
%t A211628          s = s + 1], {w, #}, {x, #}, {y, #}] &[
%t A211628       Flatten[{Reverse[-#], #} &[Range[1, u]]]]; s)]];
%t A211628 Map[t[#] &, Range[0, 60]]   (* A211628 *)
%t A211628 FindLinearRecurrence[%]
%t A211628 (* _Peter J. C. Moses_, Apr 13 2012 *)
%t A211628 LinearRecurrence[{3, -3, 2, -3, 3, -1},{0, 4, 30, 105, 249, 487},36] (* _Ray Chandler_, Aug 02 2015 *)
%o A211628 (PARI) concat(0, Vec(x*(4 + 18*x + 27*x^2 + 16*x^3 + 7*x^4) / ((1 - x)^4*(1 + x + x^2)) + O(x^40))) \\ _Colin Barker_, Dec 05 2017
%Y A211628 Cf. A211422.
%K A211628 nonn,easy
%O A211628 0,2
%A A211628 _Clark Kimberling_, Apr 17 2012