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.
%I A232015 #22 Apr 20 2017 15:11:23 %S A232015 1,-1,5,-1,29,23,197,335,1517,3527,12629,33791,109565,312311,969701, %T A232015 2843567,8661773,25723175,77693813,232032863,698195741,2090392919, %U A232015 6279567365,18821924879,56499329069,169430878343,508426852757,1525012122815,4575573239357 %N A232015 Expansion of (1-2*x)/((1+2*x)*(1-3*x)). %H A232015 <a href="/index/Rec#order_02">Index entries for linear recurrences with constant coefficients</a>, signature (1,6). %F A232015 G.f.: (1 - 2*x) / (1 - x - 6*x^2). %F A232015 a(n) = a(n-1) + 6*a(n-2) for n>1, a(0)=1, a(1)=-1. %F A232015 a(n) = sum_{k=0..n} A108561(n,k)*2^k. %F A232015 a(n) = A102901(n) - A015441(n). %F A232015 From _Bruno Berselli_, Nov 18 2013: (Start) %F A232015 a(n) = (3^n + 4*(-2)^n)/5. %F A232015 a(n+1) + a(n) = 4*A015441(n). %F A232015 a(n+1) - a(n) = -2*(-1)^n*A165405(n). %F A232015 Sum(a(i), i=0..n) = A091001(n+1). (End) %t A232015 Table[(3^n + 4 (-2)^n)/5, {n, 0, 30}] (* _Bruno Berselli_, Nov 18 2013 *) %t A232015 CoefficientList[Series[(1-2x)/((1+2x)(1-3x)),{x,0,40}],x] (* or *) LinearRecurrence[ {1,6},{1,-1},30] (* _Harvey P. Dale_, Apr 20 2017 *) %o A232015 (PARI) Vec((1-2*x)/((1+2*x)*(1-3*x))+O(x^20)) \\ _Edward Jiang_, Sep 06 2014 %Y A232015 Cf. A078008, A108561. %K A232015 sign,easy %O A232015 0,3 %A A232015 _Philippe Deléham_, Nov 17 2013