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.

A291731 a(n) = (1/2)*A291730(n).

This page as a plain text file.
%I A291731 #7 Apr 07 2025 13:44:50
%S A291731 1,3,9,28,84,255,772,2340,7088,21476,65064,197126,597228,1809420,
%T A291731 5481980,16608712,50319264,152451844,461882016,1399359936,4239628608,
%U A291731 12844765920,38915675520,117902483528,357208128400,1082230358448,3278823900048,9933824239744
%N A291731 a(n) = (1/2)*A291730(n).
%H A291731 Clark Kimberling, <a href="/A291731/b291731.txt">Table of n, a(n) for n = 0..1000</a>
%H A291731 <a href="/index/Rec#order_06">Index entries for linear recurrences with constant coefficients</a>, signature (2, 2, 2, 4, 0, 2)
%F A291731 G.f.: -(((1 + x^2) (1 + x + x^3))/(-1 + 2 x + 2 x^2 + 2 x^3 + 4 x^4 + 2 x^6)).
%F A291731 a(n) = 4*a(n-1) + 2*a(n-2) - 4*a(n-3) - 2*a(n-4) for n >= 5.
%t A291731 z = 60; s = x + x^3; p = 1 - 2 s - 2 s^2;
%t A291731 Drop[CoefficientList[Series[s, {x, 0, z}], x], 1]  (* A154272 *)
%t A291731 u = Drop[CoefficientList[Series[1/p, {x, 0, z}], x], 1]  (* A291730 *)
%t A291731 u / 2  (* A291731 *)
%Y A291731 Cf. A154272, A291728, A291730.
%K A291731 nonn,easy
%O A291731 0,2
%A A291731 _Clark Kimberling_, Sep 11 2017