The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
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
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
AUTHOR
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 16 23:54 EDT 2024. Contains 372555 sequences. (Running on oeis4.)