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.

A145563 a(0)=0 and a(n+1) = 3*a(n) + 2^(n+2).

This page as a plain text file.
%I A145563 #29 Sep 08 2022 08:45:38
%S A145563 0,4,20,76,260,844,2660,8236,25220,76684,232100,700396,2109380,
%T A145563 6344524,19066340,57264556,171924740,516036364,1548633380,4646948716,
%U A145563 13942943300,41833024204,125507461220,376539160876,1129651037060,3389020220044,10167194877860
%N A145563 a(0)=0 and a(n+1) = 3*a(n) + 2^(n+2).
%C A145563 Suggested by a discussion on the Sequence Fans Mailing List; the formula is due to Andrew V. Sutherland.
%C A145563 First differences of A255459. - _Klaus Purath_, Apr 25 2020
%H A145563 Vincenzo Librandi, <a href="/A145563/b145563.txt">Table of n, a(n) for n = 0..170</a>
%H A145563 <a href="/index/Rec#order_02">Index entries for linear recurrences with constant coefficients</a>, signature (5,-6).
%F A145563 From _R. J. Mathar_, Mar 18 2009: (Start)
%F A145563 a(n) = 4*(3^n - 2^n) = 4*A001047(n).
%F A145563 G.f.: 4*x/((1-2*x)*(1-3*x)). (End)
%F A145563 a(n) = A056182(n)*2. - _Omar E. Pol_, Mar 18 2009
%F A145563 a(n) = A217764(n,7). - _Ross La Haye_, Mar 27 2013
%F A145563 From _Klaus Purath_, Apr 25 2020: (Start)
%F A145563 a(n) = 5*a(n-1) - 6*a(n-2).
%F A145563 a(n) = 2*A210448(n) - A056182(n).
%F A145563 a(n) = (A056182(n) + A245804(n+1))/2. (End)
%t A145563 CoefficientList[Series[4x/((1-2x)(1-3x)),{x,0,40}],x] (* or *) RecurrenceTable[{a[0]==0, a[n]==(3a[n-1]+2^(n+1))},a,{n,40}] (* _Harvey P. Dale_, Apr 24 2011 *)
%o A145563 (Magma) [ 4*(3^n - 2^n): n in [0..50]]; // _Vincenzo Librandi_, Apr 24 2011
%o A145563 (PARI) a(n) = 4*(3^n - 2^n) \\ _Felix Fröhlich_, Sep 01 2018
%Y A145563 Cf. A001047, A056182, A210448, A217764, A245804.
%K A145563 nonn
%O A145563 0,2
%A A145563 _N. J. A. Sloane_, Mar 18 2009