|
Search: id:A115357
|
|
|
| A115357 |
|
Periodic {1,1,1,0,2,0}. |
|
+0 2
|
|
| 1, 1, 1, 0, 2, 0, 1, 1, 1, 0, 2, 0, 1, 1, 1, 0, 2, 0, 1, 1, 1, 0, 2, 0, 1, 1, 1, 0, 2, 0, 1, 1, 1, 0, 2, 0, 1, 1, 1, 0, 2, 0, 1, 1, 1, 0, 2, 0, 1, 1, 1, 0, 2, 0, 1, 1, 1, 0, 2, 0, 1, 1, 1, 0, 2, 0, 1, 1, 1, 0, 2, 0
(list; graph; listen)
|
|
|
OFFSET
|
0,5
|
|
|
COMMENT
|
Diagonal sums of number triangle A115356.
|
|
FORMULA
|
G.f. : (1+2x+2x^2)/(1+x-x^3-x^4); a(n)=-a(n-1)+a(n-3)+a(n-4); a(n)=-cos(2*pi*n/3+pi/6)/sqrt(3)+sin(2*pi*n/3+pi/6)/3+(-1)^n/2+5/6.
Sequence shifted right by 2 is additive with a(p^e) = 1 if p = 2 or 3, 0 otherwise.
a(n)=1/18*{-(n mod 6)+7*[(n+1) mod 6]-5*[(n+2) mod 6]+2*[(n+3) mod 6]+[(n+4) mod 6]+[(n+5) mod 6]} - Paolo P. Lava (ppl(AT)spl.at), Nov 21 2006
|
|
CROSSREFS
|
Sequence in context: A050600 A129691 A117454 this_sequence A063962 A084114 A110475
Adjacent sequences: A115354 A115355 A115356 this_sequence A115358 A115359 A115360
|
|
KEYWORD
|
easy,nonn
|
|
AUTHOR
|
Paul Barry (pbarry(AT)wit.ie), Jan 21 2006
|
|
|
Search completed in 0.002 seconds
|