login
A087733
Partial sums of A068639.
1
0, 1, 1, 2, 4, 7, 9, 12, 14, 17, 19, 22, 26, 31, 35, 40, 46, 53, 59, 66, 74, 83, 91, 100, 108, 117, 125, 134, 144, 155, 165, 176, 186, 197, 207, 218, 230, 243, 255, 268, 280, 293, 305, 318, 332, 347, 361, 376, 392, 409, 425, 442, 460, 479, 497, 516, 534, 553, 571
OFFSET
0,4
LINKS
J.-P. Allouche and J. Shallit, The Ring of k-regular Sequences, II
J.-P. Allouche and J. Shallit, The ring of k-regular sequences, II, Theoret. Computer Sci., 307 (2003), 3-29.
Hsien-Kuei Hwang, S. Janson, and T.-H. Tsai, Exact and Asymptotic Solutions of a Divide-and-Conquer Recurrence Dividing at Half: Theory and Applications, ACM Transactions on Algorithms, 13:4 (2017), #47.
FORMULA
a(0)=0, a(2n+1) = -a(n)-a(n+1)+n^2+n, a(2n+1) = -2a(n)+n^2+2n+1. - Ralf Stephan, Oct 16 2003
CROSSREFS
Sequence in context: A047211 A225000 A189677 * A065027 A165994 A163293
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Oct 01 2003
EXTENSIONS
More terms from Benoit Cloitre, Oct 04 2003
STATUS
approved