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!)
A028358 Partial sums of A028357. 0
1, 4, 10, 20, 33, 48, 64, 82, 103, 128, 156, 186, 217, 250, 286, 326, 369, 414, 460, 508, 559, 614, 672, 732, 793, 856, 922, 992, 1065, 1140, 1216, 1294, 1375, 1460, 1548, 1638, 1729, 1822, 1918, 2018, 2121 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
G.f.: ( -1-x-x^2-2*x^3 ) / ( (1+x)*(x^2-x+1)*(x-1)^3 ). - R. J. Mathar, Dec 15 2015
a(n) = (9 + 72*n + 30*n^2 + 32*cos((n + 1)*Pi/3) - (-1)^n)/24. - Greg Dresden, Jun 22 2021
MATHEMATICA
LinearRecurrence[{3, -3, 0, 3, -3, 1}, {1, 4, 10, 20, 33, 48}, 50] (* Harvey P. Dale, Jun 14 2021 *)
Table[(9 + 72n + 30n^2 + 32Cos[(n + 1)Pi/3] - (-1)^n)/24, {n, 0, 40}] (* Greg Dresden, Jun 22 2021 *)
CROSSREFS
Sequence in context: A008050 A008039 A024986 * A140229 A100440 A027373
KEYWORD
nonn,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 April 19 21:09 EDT 2024. Contains 371798 sequences. (Running on oeis4.)