login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A014846
2^(n-1) - n*(n+1)/2.
2
0, -1, -2, -2, 1, 11, 36, 92, 211, 457, 958, 1970, 4005, 8087, 16264, 32632, 65383, 130901, 261954, 524078, 1048345, 2096899, 4194028, 8388308, 16776891, 33554081, 67108486, 134217322, 268435021, 536870447, 1073741328, 2147483120
OFFSET
1,3
FORMULA
a(0)=0, a(1)=-1, a(2)=-2, a(3)=-2, a(n)=5*a(n-1)-9*a(n-2)+7*a(n-3)-2*a(n-4). - Harvey P. Dale, Aug 02 2011
MATHEMATICA
Table[2^n-n*(n+1), {n, 50}]/2 (* Vladimir Joseph Stephan Orlovsky, Apr 25 2010 *)
LinearRecurrence[{5, -9, 7, -2}, {0, -1, -2, -2}, 50] (* Harvey P. Dale, Aug 02 2011 *)
PROG
(Magma) [2^(n-1) - n*(n+1)/2: n in [1..35]]; // Vincenzo Librandi, Jul 28 2011
CROSSREFS
Sequence in context: A327087 A088876 A346078 * A100942 A132471 A130528
KEYWORD
sign
EXTENSIONS
More terms from Vladimir Joseph Stephan Orlovsky, Apr 25 2010
STATUS
approved

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy