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!)
A167386 a(n) = (-1)^n*n*(n+1)*(2*n-5)/6. 1
1, -1, -2, 10, -25, 49, -84, 132, -195, 275, -374, 494, -637, 805, -1000, 1224, -1479, 1767, -2090, 2450, -2849, 3289, -3772, 4300, -4875, 5499, -6174, 6902, -7685, 8525, -9424, 10384, -11407, 12495, -13650, 14874, -16169, 17537, -18980, 20500, -22099, 23779 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
FORMULA
a(n) = -4*a(n-1) - 6*a(n-2) - 4*a(n-3) - a(n-4).
G.f.: x*(1+3*x)/(1+x)^4.
MATHEMATICA
Table[n (-1)^n*(n + 1) (2*n - 5)/6, {n, 60}] (* Vladimir Joseph Stephan Orlovsky, Jul 08 2011 *)
PROG
(PARI) a(n)=(-1)^n*n*(n+1)*(2*n-5)/6 \\ Charles R Greathouse IV, Aug 24 2011
(Magma) [(-1)^n*n*(n+1)*(2*n-5)/6: n in [1..50]]; // Vincenzo Librandi, Aug 25 2011
CROSSREFS
Sequence in context: A336958 A305600 A058373 * A027719 A254709 A069894
KEYWORD
sign,easy
AUTHOR
Jamel Ghanouchi, Nov 02 2009
EXTENSIONS
Note that for a sequence in which every other term is zero, the OEIS policy is to omit those zeros. - N. J. A. Sloane, Nov 08 2009
Zeros removed by skipping even-indexed polynomials - R. J. Mathar, Nov 12 2009
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 14 16:21 EDT 2024. Contains 372533 sequences. (Running on oeis4.)