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.

A131833 a(n) = 2^(n+1) - 1 + 3*n.

This page as a plain text file.
%I A131833 #29 Mar 30 2023 05:13:42
%S A131833 1,6,13,24,43,78,145,276,535,1050,2077,4128,8227,16422,32809,65580,
%T A131833 131119,262194,524341,1048632,2097211,4194366,8388673,16777284,
%U A131833 33554503,67108938,134217805,268435536,536870995,1073741910,2147483737,4294967388,8589934687,17179869282
%N A131833 a(n) = 2^(n+1) - 1 + 3*n.
%C A131833 Binomial transform of (1, 5, 2, 2, 2, ...).
%H A131833 Vincenzo Librandi, <a href="/A131833/b131833.txt">Table of n, a(n) for n = 0..1000</a>
%H A131833 <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (4,-5,2).
%F A131833 G.f.: (-1 - 2*x + 6*x^2)/((2*x - 1)*(x - 1)^2). - _R. J. Mathar_, Apr 04 2012
%F A131833 a(n) = 4*a(n-1) - 5*a(n-2) + 2*a(n-3). - _Vincenzo Librandi_, Jul 05 2012
%F A131833 E.g.f.: exp(x)*(2*exp(x) - 1 + 3*x). - _Stefano Spezia_, Mar 29 2023
%e A131833 a(3) = 24 = sum of row 3 terms of triangle A131832: (7 + 5 + 5 + 7).
%e A131833 a(3) = 24 = (1, 3, 3, 1) dot (1, 5, 2, 2) = (1 + 15 + 6 + 2).
%t A131833 CoefficientList[Series[(-1-2*x+6*x^2)/((2*x-1)*(x-1)^2),{x,0,40}],x] (* _Vincenzo Librandi_, Jul 05 2012 *)
%t A131833 Table[2^(n+1)-1+3n,{n,0,30}] (* or *) LinearRecurrence[{4,-5,2},{1,6,13},40] (* _Harvey P. Dale_, Nov 06 2012 *)
%o A131833 (Magma) I:=[1, 6, 13]; [n le 3 select I[n] else 4*Self(n-1)-5*Self(n-2)+2*Self(n-3): n in [1..40]]; // _Vincenzo Librandi_, Jul 05 2012
%Y A131833 Row sums of triangle A131832.
%K A131833 nonn,easy
%O A131833 0,2
%A A131833 _Gary W. Adamson_, Jul 20 2007
%E A131833 New definition by _R. J. Mathar_, Apr 04 2012