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!)
A028494 a(n) = -(1/2)*(n+2)*(n^2 - 6*n - 1). 1
1, 9, 18, 25, 27, 21, 4, -27, -75, -143, -234, -351, -497, -675, -888, -1139, -1431, -1767, -2150, -2583, -3069, -3611, -4212, -4875, -5603, -6399, -7266, -8207, -9225, -10323, -11504, -12771, -14127, -15575, -17118, -18759, -20501, -22347 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
MATHEMATICA
Table[-(1/2)(n+2)(n^2-6n-1), {n, 0, 40}] (* or *) LinearRecurrence[{4, -6, 4, -1}, {1, 9, 18, 25}, 40] (* Harvey P. Dale, Sep 08 2018 *)
PROG
(Magma) [-1/2*(n+2)*(n^2-6*n-1): n in [0..40]]; // Vincenzo Librandi, Apr 27 2011
(PARI) a(n)=-(n+2)*(n^2-6*n-1)/2 \\ Charles R Greathouse IV, Oct 18 2022
CROSSREFS
Sequence in context: A232056 A109661 A015798 * A167663 A347242 A038838
KEYWORD
sign,easy
AUTHOR
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 20 05:07 EDT 2024. Contains 372703 sequences. (Running on oeis4.)