|
|
A168614
|
|
a(n) = 2^n + 5.
|
|
12
|
|
|
6, 7, 9, 13, 21, 37, 69, 133, 261, 517, 1029, 2053, 4101, 8197, 16389, 32773, 65541, 131077, 262149, 524293, 1048581, 2097157, 4194309, 8388613, 16777221, 33554437, 67108869, 134217733, 268435461, 536870917, 1073741829, 2147483653
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,1
|
|
LINKS
|
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (3,-2).
|
|
FORMULA
|
a(n) = 2*a(n-1) - 5 with n>0, a(0)=6.
From Colin Barker, Jul 01 2012: (Start)
a(n) = 3*a(n-1) - 2*a(n-2).
G.f.: (6 - 11*x)/((1-x)*(1-2*x)). (End)
E.g.f.: exp(2*x) + 5*exp(x). - G. C. Greubel, Jul 27 2016
|
|
MATHEMATICA
|
a[n_]:=2^n+5; a[Range[0, 200]] (* Vladimir Joseph Stephan Orlovsky, Feb 20 2011*)
CoefficientList[Series[(6 - 11 x)/((1 - x) (1 - 2 x)), {x, 0, 40}], x] (* Vincenzo Librandi, Sep 19 2013 *)
|
|
PROG
|
(Magma) [2^n+5: n in [0..40]]; // Vincenzo Librandi, Sep 19 2013
(PARI) a(n)=2^n+5 \\ Charles R Greathouse IV, Oct 27 2014
|
|
CROSSREFS
|
Sequence in context: A048585 A169761 A049304 * A045014 A047591 A340765
Adjacent sequences: A168611 A168612 A168613 * A168615 A168616 A168617
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
Vincenzo Librandi, Dec 01 2009
|
|
EXTENSIONS
|
Checked by Michael B. Porter, Jun 16 2010
|
|
STATUS
|
approved
|
|
|
|