login
A133293
First differences of A133292.
0
0, 1, 2, 3, -5, 5, -3, -2, -1, 0, 1, 2, 3, -5, 5, -3, -2, -1, 0, 1, 2, 3, -5, 5, -3, -2, -1, 0, 1, 2, 3, -5, 5, -3, -2, -1, 0, 1, 2, 3, -5, 5, -3, -2, -1, 0, 1, 2, 3, -5, 5, -3, -2, -1, 0, 1, 2, 3, -5, 5, -3, -2, -1, 0, 1, 2, 3, -5, 5, -3, -2, -1, 0, 1, 2, 3, -5, 5, -3, -2, -1, 0, 1, 2, 3, -5, 5, -3, -2, -1, 0, 1, 2, 3, -5, 5, -3, -2, -1, 0, 1, 2, 3, -5, 5
OFFSET
0,3
COMMENTS
Periodic with period 9. - Colin Barker, Apr 04 2015
FORMULA
G.f.: x*(x^6+3*x^5+6*x^4+x^3+6*x^2+3*x+1) / ((x^2+x+1)*(x^6+x^3+1)). - Colin Barker, Apr 04 2015
MATHEMATICA
Differences[PadRight[{}, 111, {1, 1, 2, 4, 7, 2, 7, 4, 2}]] (* Harvey P. Dale, Apr 29 2012 *)
LinearRecurrence[{-1, -1, -1, -1, -1, -1, -1, -1}, {0, 1, 2, 3, -5, 5, -3, -2}, 105] (* Ray Chandler, Aug 26 2015 *)
PROG
(PARI) concat(0, Vec(x*(x^6+3*x^5+6*x^4+x^3+6*x^2+3*x+1)/((x^2+x+1)*(x^6+x^3+1)) + O(x^100))) \\ Colin Barker, Apr 04 2015
CROSSREFS
Sequence in context: A096099 A019780 A227833 * A262565 A096289 A367848
KEYWORD
sign,easy
AUTHOR
Paul Curtz, Oct 17 2007
STATUS
approved