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!)
A269440 Alternating sum of 9-gonal (or decagonal) pyramidal numbers. 0
0, -1, 9, -25, 55, -100, 166, -254, 370, -515, 695, -911, 1169, -1470, 1820, -2220, 2676, -3189, 3765, -4405, 5115, -5896, 6754, -7690, 8710, -9815, 11011, -12299, 13685, -15170, 16760, -18456, 20264, -22185, 24225, -26385, 28671, -31084, 33630, -36310, 39130 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

LINKS

Table of n, a(n) for n=0..40.

OEIS Wiki, Figurate numbers

Eric Weisstein's World of Mathematics, Pyramidal Number

Index entries for linear recurrences with constant coefficients, signature (-3,-2,2,3,1).

FORMULA

G.f.: x*(1 - 6*x)/((x - 1)*(x + 1)^4).

a(n) = (-1)^n*(2*n - 1)*(14*n^2 + 34*n + 15)/48 + 5/16.

a(n) = Sum_{k = 0..n} (-1)^k*A007584(k).

MATHEMATICA

Table[(-1)^n (2 n - 1) ((14 n^2 + 34 n + 15)/48) + 5/16, {n, 0, 40}]

LinearRecurrence[{-3, -2, 2, 3, 1}, {0, -1, 9, -25, 55}, 41]

CROSSREFS

Cf. A000292, A002717, A007584, A173196, A266677.

Sequence in context: A147160 A336669 A239745 * A234038 A304033 A048490

Adjacent sequences: A269437 A269438 A269439 * A269441 A269442 A269443

KEYWORD

sign,easy

AUTHOR

Ilya Gutkovskiy, Feb 26 2016

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 February 7 09:08 EST 2023. Contains 360115 sequences. (Running on oeis4.)