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.

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

This page as a plain text file.
%I A005367 #35 Feb 02 2024 19:24:49
%S A005367 4,18,70,270,1054,4158,16510,65790,262654,1049598,4196350,16781310,
%T A005367 67117054,268451838,1073774590,4295032830,17180000254,68719738878,
%U A005367 274878431230,1099512676350,4398048608254,17592190238718,70368752566270,281474993487870,1125899940397054
%N A005367 a(n) = 2*(2^n + 1)*(2^(n+1) - 1).
%H A005367 G. C. Greubel, <a href="/A005367/b005367.txt">Table of n, a(n) for n = 0..1000</a>
%H A005367 <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (7,-14,8).
%F A005367 G.f.: 2*(2 - 5*x)/((1 - x)*(1 - 2*x)*(1 - 4*x)). - _Ilya Gutkovskiy_, Feb 24 2017
%F A005367 From _G. C. Greubel_, Oct 21 2017: (Start)
%F A005367 E.g.f.: 2*exp(x)*(2*exp(3*x) + exp(x) - 1).
%F A005367 a(n) = 7*a(n-1) - 14*a(n-2) + 8*a(n-3). (End)
%F A005367 a(n) = 2 * A092431(n+1). - _Alois P. Heinz_, Feb 02 2024
%F A005367 a(n) = 4^(n+1) + 2^(n+1) - 2. - _Ramzan Guekhaev_, Feb 02 2024
%t A005367 Table[2*(2^n + 1)*(2^(n + 1) - 1), {n, 0, 50}] (* _G. C. Greubel_, Oct 21 2017 *)
%o A005367 (PARI) for(n=0,50, print1(2*(2^n + 1)*(2^(n + 1) - 1), ", ")) \\ _G. C. Greubel_, Oct 21 2017
%o A005367 (Magma) [2*(2^n + 1)*(2^(n + 1) - 1): n in [0..50]]; // _G. C. Greubel_, Oct 21 2017
%Y A005367 Cf. A092431.
%K A005367 nonn,easy
%O A005367 0,1
%A A005367 _N. J. A. Sloane_
%E A005367 An incorrect g.f. was deleted by _N. J. A. Sloane_, Sep 20 2008