login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A168616 a(n) = 2^n - 5. 8
-4, -3, -1, 3, 11, 27, 59, 123, 251, 507, 1019, 2043, 4091, 8187, 16379, 32763, 65531, 131067, 262139, 524283, 1048571, 2097147, 4194299, 8388603, 16777211, 33554427, 67108859, 134217723, 268435451, 536870907, 1073741819, 2147483643 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
FORMULA
a(n) = 2*a(n-1) + 5.
G.f. (9*x - 4)/((x-1)*(2*x-1)). - R. J. Mathar, Feb 22 2012
a(n) = 3*a(n-1) - 2*a(n-2). - Vincenzo Librandi, Sep 19 2013
E.g.f.: exp(2*x) - 5*exp(x). - G. C. Greubel, Jul 27 2016
MATHEMATICA
Table[2^n-5, {n, 0, 5!}] (* Vladimir Joseph Stephan Orlovsky, Nov 22 2010 *)
CoefficientList[Series[(9 x - 4)/((x - 1) (2 x - 1)), {x, 0, 60}], x] (* Vincenzo Librandi, Sep 19 2013 *)
LinearRecurrence[{3, -2}, {-4, -3}, 40] (* Harvey P. Dale, Oct 15 2014 *)
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 07 2015
CROSSREFS
Sequence in context: A006467 A119505 A201518 * A342813 A296218 A130806
KEYWORD
sign,easy
AUTHOR
Vincenzo Librandi, Dec 01 2009
EXTENSIONS
Formula and examples edited to use correct offset by Jon E. Schoenfield, Jun 19 2010
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 18 13:50 EDT 2024. Contains 371780 sequences. (Running on oeis4.)