|
| |
|
|
A130778
|
|
Periodic sequence with period 1 -1 -3 -3 -1 1 .
|
|
0
|
|
|
|
1, -1, -3, -3, -1, 1, 1, -1, -3, -3, -1, 1, 1, -1, -3, -3, -1, 1, 1, -1, -3, -3, -1, 1, 1, -1, -3, -3, -1, 1, 1, -1, -3, -3, -1, 1, 1, -1, -3, -3, -1, 1
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
|
OFFSET
|
0,3
|
|
|
COMMENTS
|
With offset 1, a(n) satisfies the interesting recurrence: a(n+1) = sum(binomial(n, k)*(-1)^k*a(k),k=1..n); see Mathematica code below. [From John M. Campbell, May 05 2012]
|
|
|
LINKS
|
Table of n, a(n) for n=0..41.
|
|
|
FORMULA
|
a(n)=-(1/15)*{(n mod 6)+6*[(n+1) mod 6]+6*[(n+2) mod 6]+[(n+3) mod 6]+4*[(n+4) mod 6]+4*[(n+5) mod 6]}, with n>=0. - Paolo P. Lava, Jul 18 2007
|
|
|
MATHEMATICA
|
Table1 = {1};
a[1] = 1;
n = 1;
While[n < 314,
a[n + 1] = Sum[Binomial[n, k]*(-1)^k*a[k], {k, 1, n}];
AppendTo[Table1, a[n + 1]]; n++];
Print[Table1] (* From John M. Campbell, May 05 2012 *)
|
|
|
CROSSREFS
|
Sequence in context: A186028 A225054 A059790 * A016554 A046533 A046532
Adjacent sequences: A130775 A130776 A130777 * A130779 A130780 A130781
|
|
|
KEYWORD
|
sign
|
|
|
AUTHOR
|
Paul Curtz, Jul 14 2007
|
|
|
STATUS
|
approved
|
| |
|
|