login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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