%I #18 Oct 05 2017 09:51:58
%S 2,22,24,46,70,116,186,302,488,790,1278,2068,3346,5414,8760,14174,
%T 22934,37108,60042,97150,157192,254342,411534,665876,1077410,1743286,
%U 2820696,4563982,7384678,11948660,19333338,31281998,50615336,81897334,132512670,214410004,346922674,561332678
%N Fibonacci sequence beginning 2, 22.
%H G. C. Greubel, <a href="/A022373/b022373.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.: (2+20x)/(1-x-x^2). - _Philippe Deléham_, Nov 19 2008
%t a={};b=2;c=22;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 18 2008 *)
%t LinearRecurrence[{1,1},{2,22},30] (* _Harvey P. Dale_, Jan 06 2013 *)
%o (PARI) x='+O('x^50); Vec((2+20*x)/(1-x-x^2)) \\ _G. C. Greubel_, Oct 04 2017
%K nonn
%O 0,1
%A _N. J. A. Sloane_
%E Terms a(30) onward added by _G. C. Greubel_, Oct 04 2017
|