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.

A056124 a(n) = 3*a(n-1) - a(n-2) + 8 with a(0)=1, a(1)=11.

This page as a plain text file.
%I A056124 #18 Sep 08 2022 08:45:01
%S A056124 1,11,40,117,319,848,2233,5859,15352,40205,105271,275616,721585,
%T A056124 1889147,4945864,12948453,33899503,88750064,232350697,608302035,
%U A056124 1592555416,4169364221,10915537255,28577247552,74816205409
%N A056124 a(n) = 3*a(n-1) - a(n-2) + 8 with a(0)=1, a(1)=11.
%H A056124 G. C. Greubel, <a href="/A056124/b056124.txt">Table of n, a(n) for n = 0..1000</a>
%H A056124 <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (4,-4,1).
%F A056124 a(n) = ( 19*(((3+sqrt(5))/2)^n - ((3-sqrt(5))/2)^n) - 9*(((3+sqrt(5))/2)^(n-1) - ((3-sqrt(5))/2)^(n-1)) )/sqrt(5) - 8.
%F A056124 G.f.: (1+7*x)/((1-x)*(1-3*x+x^2)).
%F A056124 a(n) = Fibonacci(2*n+5) + 2*Lucas(2*n) - 8.
%F A056124 From _G. C. Greubel_, Jan 19 2020: (Start)
%F A056124 a(n) = Fibonacci(2*n+2) + 8*Fibonacci(2*n+1) - 8.
%F A056124 E.g.f.: exp(3*x/2)*( 9*cosh(sqrt(5)*x/2) - (11/sqrt(5))*sinh(sqrt(5)*x/2) ) - 8*exp(x). (End)
%p A056124 with(combinat); seq( fibonacci(2*n+2) + 8*fibonacci(2*n+1) - 8, n=0..30); # _G. C. Greubel_, Jan 19 2020
%t A056124 LinearRecurrence[{4,-4,1},{1,11,40},30] (* _Harvey P. Dale_, Mar 25 2015 *)
%o A056124 (PARI) vector(31, n, fibonacci(2*n) +8*fibonacci(2*n-1) -8 ) \\ _G. C. Greubel_, Jan 19 2020
%o A056124 (Magma) [Fibonacci(2*n+2) + 8*Fibonacci(2*n+1) - 8: n in [0..30]]; // _G. C. Greubel_, Jan 19 2020
%o A056124 (Sage) [fibonacci(2*n+2) + 8*fibonacci(2*n+1) - 8 for n in (0..30)] # _G. C. Greubel_, Jan 19 2020
%o A056124 (GAP) List([0..30], n-> Fibonacci(2*n+2) + 8*Fibonacci(2*n+1) - 8 ); # _G. C. Greubel_, Jan 19 2020
%Y A056124 Cf. A000032, A000045, A055850 (first differences).
%K A056124 easy,nonn
%O A056124 0,2
%A A056124 _Barry E. Williams_, Jul 07 2000