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!)
A341768 a(n) = n * (binomial(n,2) - 2). 0
0, -2, -2, 3, 16, 40, 78, 133, 208, 306, 430, 583, 768, 988, 1246, 1545, 1888, 2278, 2718, 3211, 3760, 4368, 5038, 5773, 6576, 7450, 8398, 9423, 10528, 11716, 12990, 14353, 15808, 17358, 19006, 20755, 22608, 24568, 26638, 28821, 31120, 33538, 36078, 38743, 41536, 44460 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
The n-th second n-gonal number.
LINKS
FORMULA
G.f.: -x*(2 - 6*x + x^2)/(1 - x)^4.
E.g.f.: -exp(x)*x*(4 - 2*x - x^2)/2.
a(n) = n^2*(n - 1)/2 - 2*n.
EXAMPLE
a(7) = A147875(7) = A000566(-7) = 133.
MATHEMATICA
Table[n (Binomial[n, 2] - 2), {n, 0, 45}]
LinearRecurrence[{4, -6, 4, -1}, {0, -2, -2, 3}, 46]
CoefficientList[Series[-x (2 - 6 x + x^2)/(1 - x)^4, {x, 0, 45}], x]
CROSSREFS
Sequence in context: A153938 A060790 A109843 * A184840 A164022 A089751
KEYWORD
sign,easy
AUTHOR
Ilya Gutkovskiy, Feb 19 2021
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 April 23 03:30 EDT 2024. Contains 371906 sequences. (Running on oeis4.)