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
3, 12, 16, 29, 46, 76, 123, 200, 324, 525, 850, 1376, 2227, 3604, 5832, 9437, 15270, 24708, 39979, 64688, 104668, 169357, 274026, 443384, 717411, 1160796, 1878208, 3039005, 4917214, 7956220, 12873435, 20829656, 33703092, 54532749, 88235842, 142768592, 231004435, 373773028, 604777464 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
FORMULA
From R. J. Mathar, Mar 11 2011: (Start)
a(n+1) - a(n) = A022132(n-1).
G.f.: ( 3+6*x-8*x^2 ) / ( (x-1)*(x^2+x-1) ). (End)
MATHEMATICA
LinearRecurrence[{2, 0, -1}, {3, 12, 16}, 40] (* Harvey P. Dale, Jan 26 2014 *)
PROG
(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
(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
CROSSREFS
Sequence in context: A192786 A277738 A064106 * A115229 A224924 A136047
KEYWORD
nonn
AUTHOR
EXTENSIONS
Terms a(31) onward added by G. C. Greubel, Feb 28 2018
STATUS
approved

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 25 06:49 EDT 2024. Contains 371964 sequences. (Running on oeis4.)