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!)
A022411 a(n) = a(n-1) + a(n-2) + 1, with a(0)=3, a(1)=12. 1

%I #15 Sep 08 2022 08:44:46

%S 3,12,16,29,46,76,123,200,324,525,850,1376,2227,3604,5832,9437,15270,

%T 24708,39979,64688,104668,169357,274026,443384,717411,1160796,1878208,

%U 3039005,4917214,7956220,12873435,20829656,33703092,54532749,88235842,142768592,231004435,373773028,604777464

%N a(n) = a(n-1) + a(n-2) + 1, with a(0)=3, a(1)=12.

%H G. C. Greubel, <a href="/A022411/b022411.txt">Table of n, a(n) for n = 0..4500</a>

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

%F From _R. J. Mathar_, Mar 11 2011: (Start)

%F a(n+1) - a(n) = A022132(n-1).

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

%t LinearRecurrence[{2,0,-1},{3,12,16},40] (* _Harvey P. Dale_, Jan 26 2014 *)

%o (PARI) x='x+O('x^30); Vec((3+6*x-8*x^2)/((x-1)*(x^2+x-1))) \\ _G. C. Greubel_, Feb 28 2018

%o (Magma) m:=30; R<x>:=PowerSeriesRing(Integers(), m); Coefficients(R!((3+6*x-8*x^2)/((x-1)*(x^2+x-1)))); // _G. C. Greubel_, Feb 28 2018

%K nonn

%O 0,1

%A _N. J. A. Sloane_

%E Terms a(31) onward added by _G. C. Greubel_, Feb 28 2018

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 19 04:35 EDT 2024. Contains 371782 sequences. (Running on oeis4.)