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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A298785 Partial sums of A298784. 2
1, 5, 11, 21, 35, 51, 71, 95, 121, 151, 185, 221, 261, 305, 351, 401, 455, 511, 571, 635, 701, 771, 845, 921, 1001, 1085, 1171, 1261, 1355, 1451, 1551, 1655, 1761, 1871, 1985, 2101, 2221, 2345, 2471, 2601, 2735, 2871, 3011, 3155, 3301, 3451, 3605, 3761, 3921, 4085, 4251, 4421, 4595, 4771 (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,-1,1,-2,1).

FORMULA

G.f.: (1 + x^2)*(1 + 3*x + x^2) / ((1 - x)^2*(1 - x^3)).

a(n) = 2*a(n-1) - a(n-2) + a(n-3) - 2*a(n-4) + a(n-5) for n>4. - Colin Barker, Jan 27 2018

PROG

(PARI) Vec((1 + x^2)*(1 + 3*x + x^2) / ((1 - x)^3*(1 + x + x^2)) + O(x^60)) \\ Colin Barker, Jan 27 2018

CROSSREFS

Cf. A298784.

Sequence in context: A245773 A166480 A164096 * A163787 A166863 A163704

Adjacent sequences:  A298782 A298783 A298784 * A298786 A298787 A298788

KEYWORD

nonn,easy

AUTHOR

N. J. A. Sloane, Jan 26 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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 5 00:43 EDT 2020. Contains 333238 sequences. (Running on oeis4.)