OFFSET
0,2
LINKS
Floor van Lamoen, Wave sequences
Index entries for linear recurrences with constant coefficients, signature (10,-15,7,-1).
FORMULA
Let v(4) = (1, 1, 1, 1), let M(4) be the 4 X 4 matrix m(i, j) = min(i, j); then a(n) = min(v(4)*M(4)^n). - Benoit Cloitre, Oct 03 2002
G.f.: ( 1-6*x+5*x^2-x^3 ) / ( (x-1)*(x^3-6*x^2+9*x-1) ). - Wouter Meeussen, Mar 19 2005
PROG
(PARI) k=4; M(k)=matrix(k, k, i, j, min(i, j)); v(k)=vector(k, i, 1); a(n)=vecmin(v(k)*M(k)^n)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved