STATUS
editing
approved
editing
approved
a(n) = 5a5*a(n-3) - a(n-6) with terms 1..6 as 0, 1, 2, 5, 7, 9.
approved
editing
editing
approved
LinearRecurrence[{0, 0, 5, 0, 0, -1}, {0, 1, 2, 5, 7, 9}, 40] (* Harvey P. Dale, Apr 06 2016 *)
approved
editing
reviewed
approved
proposed
reviewed
editing
proposed
a(n) = 2*a(n - 1) + a(n - 2) if 3 | n, a(n) = a(n - 1) + a(n - 2) if n = 1 mod 3, and a(n) = 2*a(n - 1) - a(n - 2) if n = 2 mod 3.
G.f.: x^2*(1+2*x+5*x^2+2*x^3-x^4) / (1-5*x^3+x^6). -_ _Colin Barker_, Jan 08 2013
reviewed
editing
proposed
reviewed
editing
proposed