OFFSET
0,6
COMMENTS
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 0..10000
Index entries for linear recurrences with constant coefficients, signature (-2,-2,0,3,4,3,0,-2,-2,-1).
FORMULA
a(12*n) = -10*n, a(12*n+1) = 7*n.
a(12*n+2) = -2*n, a(12*n+3) = -n.
a(12*n+4) = -2*n - 1, a(12*n+5) = 7*n + 3.
a(12*n+6) = -10*n - 5, a(12*n+7) = 7*n + 4.
a(12*n+8) = -2*n -1, a(12*n+9) = -n - 1.
a(12*n+10) = -2*n - 2, a(12*n+11) = 7*n + 7.
G.f.: -x^4*(x^2-x+1) / ((x-1)^2*(x+1)^2*(x^2+1)*(x^2+x+1)^2). - Colin Barker, Apr 04 2013
MATHEMATICA
LinearRecurrence[{-2, -2, 0, 3, 4, 3, 0, -2, -2, -1}, {0, 0, 0, 0, -1, 3, -5, 4, -1, -1}, 50] (* G. C. Greubel, Jul 16 2016 *)
PROG
(Haskell)
a168223 n = a006369 n - a006368 n -- Reinhard Zumkeller, Mar 15 2014
CROSSREFS
KEYWORD
AUTHOR
Reinhard Zumkeller, Nov 20 2009
STATUS
approved