login
Fibonacci sequence beginning 5, 18.
1

%I #30 Oct 02 2021 15:26:53

%S 5,18,23,41,64,105,169,274,443,717,1160,1877,3037,4914,7951,12865,

%T 20816,33681,54497,88178,142675,230853,373528,604381,977909,1582290,

%U 2560199,4142489,6702688,10845177,17547865,28393042,45940907,74333949,120274856,194608805

%N Fibonacci sequence beginning 5, 18.

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

%H Tanya Khovanova, <a href="http://www.tanyakhovanova.com/RecursiveSequences/RecursiveSequences.html">Recursive Sequences</a>

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

%F G.f.: (5+13*x)/(1-x-x^2). - _Philippe Deléham_, Nov 20 2008

%F a(n) = a(n-1) + a(n-2). - _Wesley Ivan Hurt_, Oct 02 2021

%t a={};b=5;c=18;AppendTo[a, b];AppendTo[a, c];Do[b=b+c;AppendTo[a, b];c=b+c;AppendTo[a, c], {n, 4!}];a (* _Vladimir Joseph Stephan Orlovsky_, Sep 17 2008 *)

%t LinearRecurrence[{1,1},{5,18},40] (* _Harvey P. Dale_, Jul 19 2014 *)

%t CoefficientList[Series[(5 + 13 x)/(1 - x - x^2), {x, 0, 50}], x] (* _Vincenzo Librandi_, Jul 23 2014 *)

%Y Cf. A000045.

%K nonn

%O 0,1

%A _N. J. A. Sloane_