|
| |
|
|
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; internal format)
|
|
|
|
OFFSET
| 0,1
|
|
|
COMMENTS
| Sequence is identical to its third differences.
|
|
|
LINKS
| 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 (paoloplava(AT)gmail.com), Jul 18 2007
O.g.f.: 2/(x^2-x+1). a(n) = 2*A010892(n) . - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), 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 A035668
Adjacent sequences: A130769 A130770 A130771 * A130773 A130774 A130775
|
|
|
KEYWORD
| sign,easy
|
|
|
AUTHOR
| Paul Curtz (bpcrtz(AT)free.fr), Jul 14 2007
|
| |
|
|