login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 1..1000

Index entries for linear recurrences with constant coefficients, signature (5, -9, 7, -2).

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: A307093 A327087 A088876 * A100942 A132471 A130528

Adjacent sequences:  A014843 A014844 A014845 * A014847 A014848 A014849

KEYWORD

sign

AUTHOR

N. J. A. Sloane

EXTENSIONS

More terms from Vladimir Joseph Stephan Orlovsky, Apr 25 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 24 13:24 EST 2020. Contains 331193 sequences. (Running on oeis4.)