|
| |
|
|
A130772
|
|
Periodic sequence with period 2 2 0 -2 -2 0.
|
|
5
|
|
|
|
2, 2, 0, -2, -2, 0, 2, 2, 0, -2, -2, 0, 2, 2, 0, -2, -2, 0, 2, 2, 0, -2, -2, 0, 2, 2, 0, -2, -2, 0, 2, 2, 0, -2, -2, 0, 2, 2, 0, -2, -2, 0, 2, 2, 0, -2, -2, 0, 2, 2
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
|
OFFSET
|
0,1
|
|
|
COMMENTS
|
Sequence is identical to its third differences.
|
|
|
LINKS
|
Table of n, a(n) for n=0..49.
Index entries for sequences related to linear recurrences with constant coefficients, signature (1,-1).
|
|
|
FORMULA
|
a(n) = -(1/3)*{(n mod 6)+[(n+1) mod 6]-[(n+3) mod 6]-[(n+4) mod 6]}, with n>=0. - Paolo P. Lava, Jul 18 2007
O.g.f.: 2/(x^2-x+1). a(n) = 2*A010892(n) . - R. J. Mathar, Feb 14 2008
|
|
|
PROG
|
(PARI) for(i=1, 9, print1("2, 2, 0, -2, -2, 0, ")) \\ Charles R Greathouse IV, Jun 02 2011
|
|
|
CROSSREFS
|
Sequence in context: A114700 A140666 A202145 * A109265 A184334 A225399
Adjacent sequences: A130769 A130770 A130771 * A130773 A130774 A130775
|
|
|
KEYWORD
|
sign,easy,changed
|
|
|
AUTHOR
|
Paul Curtz, Jul 14 2007
|
|
|
STATUS
|
approved
|
| |
|
|