login
A185346
a(n) = 2^n - 9.
9
-8, -7, -5, -1, 7, 23, 55, 119, 247, 503, 1015, 2039, 4087, 8183, 16375, 32759, 65527, 131063, 262135, 524279, 1048567, 2097143, 4194295, 8388599, 16777207, 33554423, 67108855, 134217719, 268435447, 536870903, 1073741815, 2147483639, 4294967287, 8589934583
OFFSET
0,1
FORMULA
G.f.: ( -8+17*x ) / ( (2*x-1)*(x-1) ). - R. J. Mathar, Dec 17 2012
E.g.f.: exp(2*x) - 9*exp(x). - G. C. Greubel, Jun 28 2017
From Elmo R. Oliveira, Nov 08 2023: (Start)
a(n) = 2*a(n-1) + 9 with a(0) = -8.
a(n) = 3*a(n-1) - 2*a(n-2) for n > 1. (End)
MAPLE
A185346:=n->2^n-9: seq(A185346(n), n=0..50); # Wesley Ivan Hurt, Jun 28 2017
MATHEMATICA
Table[2^n - 9, {n, 0, 40}] (* T. D. Noe, Dec 04 2012 *)
PROG
(PARI) a(n)=2^n-9 \\ Charles R Greathouse IV, Oct 07 2015
CROSSREFS
Cf. A000225, A036563, A172252 (essentially the same).
Sequence in context: A167222 A076417 A114137 * A200017 A316728 A231098
KEYWORD
sign,easy
AUTHOR
Andreas Rieber, Dec 04 2012
STATUS
approved