A284517 Periodic with period [1, 4, 3, 4, 1, 6] of length 6.
1, 4, 3, 4, 1, 6, 1, 4, 3, 4, 1, 6, 1, 4, 3, 4, 1, 6, 1, 4, 3, 4, 1, 6, 1, 4, 3, 4, 1, 6, 1, 4, 3, 4, 1, 6, 1, 4, 3, 4, 1, 6, 1, 4, 3, 4, 1, 6, 1, 4, 3, 4, 1, 6, 1, 4, 3, 4, 1, 6, 1, 4, 3, 4, 1, 6, 1, 4, 3, 4, 1, 6, 1, 4, 3, 4, 1, 6, 1, 4, 3, 4, 1, 6, 1, 4, 3, 4, 1, 6, 1, 4, 3, 4, 1, 6, 1, 4, 3, 4, 1, 6, 1, 4, 3, 4, 1, 6
Offset: 1
Links
- Index entries for linear recurrences with constant coefficients, signature (-1,0,1,1).
Formula
G.f. -x*(1+5*x+7*x^2+6*x^3) / ( (x-1)*(1+x)*(1+x+x^2) ).
a(n+6) = a(n).
a(n) = (24 - ((n mod 6)^5 - 13*(n mod 6)^4 + 61*(n mod 6)^3 - 123*(n mod 6)^2 + 94*(n mod 6)))/4 for n>0. - Luce ETIENNE, Oct 19 2017