|
| |
|
|
A077859
|
|
Expansion of (1-x)^(-1)/(1-2*x+2*x^2-x^3).
|
|
4
| |
|
|
1, 3, 5, 6, 6, 6, 7, 9, 11, 12, 12, 12, 13, 15, 17, 18, 18, 18, 19, 21, 23, 24, 24, 24, 25, 27, 29, 30, 30, 30, 31, 33, 35, 36, 36, 36, 37, 39, 41, 42, 42, 42, 43, 45, 47, 48, 48, 48, 49, 51, 53, 54, 54, 54, 55, 57, 59, 60, 60, 60, 61, 63, 65, 66, 66, 66, 67, 69, 71, 72, 72, 72, 73, 75
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 0,2
|
|
|
COMMENTS
| Partial sums of A021823. Second partial sums of A010892. - Paul Barry (pbarry(AT)wit.ie), Jun 06 2003
Equals row sums of triangle A144083 [From Gary W. Adamson (qntmpkt(AT)yahoo.com), Sep 10 2008]
|
|
|
LINKS
| Index to sequences with linear recurrences with constant coefficients, signature (3,-4,3,-1).
|
|
|
FORMULA
| G.f. 1/ ((1-x)^2*(1-x+x^2)).
a(n)=sum{k=0..n, (k+1)*2sin(pi(n-k)/3+pi/3)/sqrt(3) - Paul Barry (pbarry(AT)wit.ie), May 18 2004
a(n)=sum{k=0..n, binomial(n-2k, n-k-1)}; - Paul Barry (pbarry(AT)wit.ie), Jan 15 2005
|
|
|
MAPLE
| A010892 := proc(n) op(1+(n mod 6), [1, 1, 0, -1, -1, 0]) ; end proc:
A077859 := proc(n) n+2+A010892(n+4) ; end proc:
seq(A077859(n), n=0..50) ; # R. J. Mathar, Mar 22 2011
|
|
|
MATHEMATICA
| s=0; w1=0; w2=0; lst={w1, w2}; Do[s+=n-w1; AppendTo[lst, s]; w1=w2; w2=s, {n, 0, 2*5!}]; lst [From Vladimir Orlovsky (4vladimir(AT)gmail.com), Nov 26 2008]
|
|
|
CROSSREFS
| Cf. A010892.
Cf. A021823.
A144083 [From Gary W. Adamson (qntmpkt(AT)yahoo.com), Sep 10 2008]
Sequence in context: A081498 A110279 A161435 * A123572 A076819 A181757
Adjacent sequences: A077856 A077857 A077858 * A077860 A077861 A077862
|
|
|
KEYWORD
| nonn
|
|
|
AUTHOR
| N. J. A. Sloane (njas(AT)research.att.com), Nov 17 2002
|
| |
|
|