The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A298030 Partial sums of A298029. 2
 1, 4, 10, 22, 40, 73, 112, 163, 220, 289, 364, 451, 544, 649, 760, 883, 1012, 1153, 1300, 1459, 1624, 1801, 1984, 2179, 2380, 2593, 2812, 3043, 3280, 3529, 3784, 4051, 4324, 4609, 4900, 5203, 5512, 5833, 6160, 6499, 6844, 7201, 7564, 7939, 8320, 8713, 9112, 9523, 9940, 10369, 10804, 11251, 11704 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,2 LINKS Colin Barker, Table of n, a(n) for n = 0..1000 Index entries for linear recurrences with constant coefficients, signature (2,0,-2,1). FORMULA G.f.: -(3*x^7 - 9*x^5 - 3*x^4 - 4*x^3 - 2*x^2 - 2*x - 1)/((1 - x)^2*(1 - x^2)). From Colin Barker, Jan 25 2018: (Start) a(n) = (9*n^2 - 18*n + 8) / 2 for n>3 and even. a(n) = (9*n^2 - 18*n + 11) / 2 for n>3 and odd. a(n) = 2*a(n-1) - 2*a(n-3) + a(n-4) for n>5. (End) PROG (PARI) Vec((1 + 2*x + 2*x^2 + 4*x^3 + 3*x^4 + 9*x^5 - 3*x^7) / ((1 - x)^3*(1 + x)) + O(x^50)) \\ Colin Barker, Jan 25 2018 CROSSREFS Cf. A298029. Sequence in context: A301243 A177736 A061777 * A155369 A155404 A155360 Adjacent sequences:  A298027 A298028 A298029 * A298031 A298032 A298033 KEYWORD nonn,easy AUTHOR N. J. A. Sloane, Jan 21 2018 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified August 1 00:13 EDT 2021. Contains 346377 sequences. (Running on oeis4.)