A022373 Fibonacci sequence beginning 2, 22.
2, 22, 24, 46, 70, 116, 186, 302, 488, 790, 1278, 2068, 3346, 5414, 8760, 14174, 22934, 37108, 60042, 97150, 157192, 254342, 411534, 665876, 1077410, 1743286, 2820696, 4563982, 7384678, 11948660, 19333338, 31281998, 50615336, 81897334, 132512670, 214410004, 346922674, 561332678
Offset: 0
Keywords
Links
- G. C. Greubel, Table of n, a(n) for n = 0..1000
- Tanya Khovanova, Recursive Sequences
- Index entries for linear recurrences with constant coefficients, signature (1, 1).
Programs
-
Mathematica
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 *) LinearRecurrence[{1,1},{2,22},30] (* Harvey P. Dale, Jan 06 2013 *)
-
PARI
x='x+O('x^50); Vec((2+20*x)/(1-x-x^2)) \\ G. C. Greubel, Oct 04 2017
Formula
G.f.: (2+20x)/(1-x-x^2). - Philippe Deléham, Nov 19 2008
Extensions
Terms a(30) onward added by G. C. Greubel, Oct 04 2017