login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A114958 a(n) = 6*2^(n+1) - 5*(n+1) - 4. 1

%I #14 Sep 08 2022 08:45:23

%S 3,10,29,72,163,350,729,1492,3023,6090,12229,24512,49083,98230,196529,

%T 393132,786343,1572770,3145629,6291352,12582803,25165710,50331529,

%U 100663172,201326463,402653050,805306229,1610612592,3221225323

%N a(n) = 6*2^(n+1) - 5*(n+1) - 4.

%H Vincenzo Librandi, <a href="/A114958/b114958.txt">Table of n, a(n) for n = 0..1000</a>

%H <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (4,-5,2).

%F From _Colin Barker_, Apr 30 2019: (Start)

%F G.f.: (3 - 2*x + 4*x^2) / ((1 - x)^2*(1 - 2*x)).

%F a(n) = 4*a(n-1) - 5*a(n-2) + 2*a(n-3) for n>2.

%F (End)

%o (Magma) [6*2^(n+1) - 5*(n+1) - 4: n in [0..30] ]; // _Vincenzo Librandi_, May 18 2011

%o (PARI) Vec((3 - 2*x + 4*x^2) / ((1 - x)^2*(1 - 2*x)) + O(x^40)) \\ _Colin Barker_, Apr 30 2019

%Y Cf. A098011, A042950, A110164, A101229, A058764, A087009, A111286, A007283.

%K easy,nonn

%O 0,1

%A _Creighton Dement_, Feb 21 2006

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 03:30 EDT 2024. Contains 371906 sequences. (Running on oeis4.)